summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-02 23:52:55 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-09-02 23:52:55 +0000
commit1f72dd40c7c502a02b82badce2d78ac058a7f3f3 (patch)
treea4b376a0dda6b9203700fffe7b5b4ef91afda948 /llvm/test/CodeGen/Generic
parentf08354d1831e6b47a50150cdcfc9b8c8563b3d8d (diff)
downloadbcm5719-llvm-1f72dd40c7c502a02b82badce2d78ac058a7f3f3.tar.gz
bcm5719-llvm-1f72dd40c7c502a02b82badce2d78ac058a7f3f3.zip
Pseudo CMOV instructions don't clobber EFLAGS.
The explanation about a 0 argument being materialized as xor is no longer valid. Rematerialization will check if EFLAGS is live before clobbering it. The code produced by X86TargetLowering::EmitLoweredSelect does not clobber EFLAGS. This causes one less testb instruction to be generated in the cmov.ll test case. llvm-svn: 139057
Diffstat (limited to 'llvm/test/CodeGen/Generic')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud