aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2020-09-24 09:55:39 -0700
committerCraig Topper <craig.topper@intel.com>2020-09-24 10:57:11 -0700
commit03f22b08e2a387a415dcbb3cf021e41e629c3d34 (patch)
tree4154311050b3e069c5fa165b23c5972b6b8825e1 /clang/lib/Frontend/CompilerInvocation.cpp
parentd1419c9fdab141617b6aa9f028191b9bfc8be260 (diff)
downloadllvm-03f22b08e2a387a415dcbb3cf021e41e629c3d34.zip
llvm-03f22b08e2a387a415dcbb3cf021e41e629c3d34.tar.gz
llvm-03f22b08e2a387a415dcbb3cf021e41e629c3d34.tar.bz2
[SLP] Remove LHS and RHS from OperationData.
These were only really used for 2 things. One was to check if the operand matches the phi if it exists. The other was for the createOp method to build the reduction. For the first case we still have the operation we just need to know how to index its operands. So I've modified getLHS/getRHS to just use the opcode/kind to know how to find the right operands on an instruction that is now passed in. For the other case we had to create an OperationData object to set the LHS/RHS values and copy the opcode/kind from another object. We would then just call createOp on that temporary object. Instead I've made LHS/RHS arguments to createOp and removed all these temporary objects. Differential Revision: https://reviews.llvm.org/D88193
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions