diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-03-28 22:28:50 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-03-28 22:28:50 +0000 |
commit | 8ad9a97310239d4c2922f3583dcce7af40645c75 (patch) | |
tree | 911e4f4fc3d137b86ba53023a4a0be24f9ce0b67 /llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | |
parent | 2ce74015052d29700d5d4675c97a850c87bdb495 (diff) | |
download | bcm5719-llvm-8ad9a97310239d4c2922f3583dcce7af40645c75.tar.gz bcm5719-llvm-8ad9a97310239d4c2922f3583dcce7af40645c75.zip |
Plumb useAA through TargetTransformInfo to remove Transforms->CodeGen header dependency
Thanks to echristo for the pointers on direction.
llvm-svn: 328737
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64TargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp index 82e1ede8532..6a267ac7dbd 100644 --- a/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp +++ b/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp @@ -389,7 +389,7 @@ void AArch64PassConfig::addIRPasses() { // Call SeparateConstOffsetFromGEP pass to extract constants within indices // and lower a GEP with multiple indices to either arithmetic operations or // multiple GEPs with single index. - addPass(createSeparateConstOffsetFromGEPPass(TM, true)); + addPass(createSeparateConstOffsetFromGEPPass(true)); // Call EarlyCSE pass to find and remove subexpressions in the lowered // result. addPass(createEarlyCSEPass()); |