Replace calls to ConstantFoldInstruction with calls to SimplifyInstruction
authorDuncan Sands <baldrick@free.fr>
Tue, 23 Nov 2010 20:26:33 +0000 (20:26 +0000)
committerDuncan Sands <baldrick@free.fr>
Tue, 23 Nov 2010 20:26:33 +0000 (20:26 +0000)
commitb6133d148312a3ec15beb67c2f49a21e5082b666
tree5dac6c9d4d5f8cb4ceb036daed6cb54670d11657
parent0f827639df520ac85eca6cc8f826e3fc36c4d171
Replace calls to ConstantFoldInstruction with calls to SimplifyInstruction
in two places that are really interested in simplified instructions, not
constants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120044 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/TailDuplication.cpp
lib/Transforms/Utils/LoopUnroll.cpp