commit | aab8e28d5e470711d80276bbf717408c3ab966fd | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Fri Dec 02 01:26:24 2011 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Fri Dec 02 01:26:24 2011 +0000 |
tree | 9f0450dbe079f0f14680f58b8aff59ea2ef42c87 | |
parent | 7636bf6530fd83bf7356ae3894246a4e558741a4 [diff] [blame] |
Fix a few more places where TargetData/TargetLibraryInfo is not being passed. Add FIXMEs to places that are non-trivial to fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145661 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp index 9694585..50794de 100644 --- a/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -1849,7 +1849,7 @@ Constant*& FoldRes = FoldedConstants[CE]; if (!FoldRes) - FoldRes = ConstantFoldConstantExpression(CE, TD); + FoldRes = ConstantFoldConstantExpression(CE, TD, TLI); if (!FoldRes) FoldRes = CE;