Sometimes isPredicable lies to us and tells us we don't need the operands.
authorEric Christopher <echristo@apple.com>
Sat, 12 Mar 2011 01:09:29 +0000 (01:09 +0000)
committerEric Christopher <echristo@apple.com>
Sat, 12 Mar 2011 01:09:29 +0000 (01:09 +0000)
commitaf3dce51494b366024958b6dc9a15b95cb03011f
tree216866c8203d89fc3eb3dab436c76f48a6a13be2
parent7d3a16a6f8a696a8d73fe369f5a0f57c9f3f9597
Sometimes isPredicable lies to us and tells us we don't need the operands.
Go ahead and add them on when we might want to use them and let
later passes remove them.

Fixes rdar://9118569

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127518 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/fast-isel-pred.ll [new file with mode: 0644]