summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-06-09 12:34:50 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-06-09 12:34:50 +0000
commitdfbdc71ea1bf22c72422afa97948df90bc0a0eb2 (patch)
treefddaf28a0d768e767158a412d8f33df5501997f4 /llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp
parent4db1abea150d7cfdbb7f4f402103f3d84d27ba28 (diff)
downloadbcm5719-llvm-dfbdc71ea1bf22c72422afa97948df90bc0a0eb2.tar.gz
bcm5719-llvm-dfbdc71ea1bf22c72422afa97948df90bc0a0eb2.zip
[X86] Avoid emitting unnecessary test instructions.
This patch teaches the backend how to check for the 'NoSignedWrap' flag on binary operations to improve the emission of 'test' instructions. If the result of a binary operation is known not to overflow we know that resetting the Overflow flag is unnecessary and so we can avoid emitting the test instruction. Patch by Marcello Maggioni. llvm-svn: 210468
Diffstat (limited to 'llvm/lib/ExecutionEngine/RTDyldMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud