summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-03-13 21:05:13 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-03-13 21:05:13 +0000
commitba9fba81d633688eda342280580b8e2771b2ccc9 (patch)
treec3904aa4aa691a9b52e61e4f00d9a8012d09b773 /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent2df72898c8cec9b4a932f8117dd6b824fefa7f62 (diff)
downloadbcm5719-llvm-ba9fba81d633688eda342280580b8e2771b2ccc9.tar.gz
bcm5719-llvm-ba9fba81d633688eda342280580b8e2771b2ccc9.zip
Remove PreserveNames template parameter from IRBuilder
This reapplies r263258, which was reverted in r263321 because of issues on Clang side. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 263393
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index c6406e4f401..0ac16fe1c77 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -3054,7 +3054,7 @@ combineInstructionsOverFunction(Function &F, InstCombineWorklist &Worklist,
/// Builder - This is an IRBuilder that automatically inserts new
/// instructions into the worklist when they are created.
- IRBuilder<true, TargetFolder, InstCombineIRInserter> Builder(
+ IRBuilder<TargetFolder, InstCombineIRInserter> Builder(
F.getContext(), TargetFolder(DL), InstCombineIRInserter(Worklist, &AC));
// Lower dbg.declare intrinsics otherwise their value may be clobbered
OpenPOWER on IntegriCloud