summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Basic/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-06-25 20:06:12 +0000
committerJuergen Ributzka <juergen@apple.com>2014-06-25 20:06:12 +0000
commit296833cde9c68cb143690d654aa515009ed5634c (patch)
tree339854b1be4fb577b17193c95261d14a1e7fc46e /clang/unittests/Basic/VirtualFileSystemTest.cpp
parentcfcd7914da9ce15a8b88ab8ee318db3c7d7d1ff3 (diff)
downloadbcm5719-llvm-296833cde9c68cb143690d654aa515009ed5634c.tar.gz
bcm5719-llvm-296833cde9c68cb143690d654aa515009ed5634c.zip
[FastISel][X86] Only fold the cmp into the select when both instructions are in the same basic block.
If the cmp is in a different basic block, then it is possible that not all operands of that compare have defined registers. This can happen when one of the operands to the cmp is a load and the load gets folded into the cmp. In this case FastISel will skip the load instruction and the vreg is never defined. llvm-svn: 211730
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud