OSDN Git Service

[CodeGen] Fix bug in IncrementPointer
authorDavid Sherwood <david.sherwood@arm.com>
Thu, 10 Sep 2020 10:54:58 +0000 (11:54 +0100)
committerDavid Sherwood <david.sherwood@arm.com>
Mon, 14 Sep 2020 07:03:55 +0000 (08:03 +0100)
commit15bff4dec4360985a6a058a7e42a4ffd590dc665
tree2370557f9608caaed625be130f414104c1a3f168
parentcdacffe4acc083dfb1cccb6458420eed09f9d093
[CodeGen] Fix bug in IncrementPointer

In an earlier patch I meant to add the correct flags to the ADD
node when incrementing the pointer, but forgot to pass them to
SelectionDAG::getNode.

Differential Revision: https://reviews.llvm.org/D87496
llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp