summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGBlocks.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-03-29 17:22:39 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-03-29 17:22:39 +0000
commit4e55044ff52029c2345639008aab5c7a1f21cfb8 (patch)
tree567db4cf1beb44cc08bc83c844faa00fba1fe78f /clang/lib/CodeGen/CGBlocks.h
parent3e2320c8bee630fe1ffb551dc04f2ad27636d912 (diff)
downloadbcm5719-llvm-4e55044ff52029c2345639008aab5c7a1f21cfb8.tar.gz
bcm5719-llvm-4e55044ff52029c2345639008aab5c7a1f21cfb8.zip
Don't PRE compares.
CodeGenPrepare sinks compare instructions down to their uses to prevent live flags and predicate registers across basic blocks. PRE of a compare instruction prevents that, forcing the i1 compare result into a general purpose register. That is usually more expensive than the redundant compare PRE was trying to eliminate in the first place. llvm-svn: 153657
Diffstat (limited to 'clang/lib/CodeGen/CGBlocks.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud