diff options
author | David Majnemer <david.majnemer@gmail.com> | 2014-07-31 04:49:29 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2014-07-31 04:49:29 +0000 |
commit | a92687d6365f3bef67f23929c568262045f5b45b (patch) | |
tree | 59c30fa4c30e4a0b440aeb5e02dd9a1623c4bda3 /lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp | |
parent | cd4fbcd1bb463a1d2b99808f52c1b6b99e82ef4d (diff) | |
download | bcm5719-llvm-a92687d6365f3bef67f23929c568262045f5b45b.tar.gz bcm5719-llvm-a92687d6365f3bef67f23929c568262045f5b45b.zip |
InstCombine: Correctly propagate NSW/NUW for x-(-A) -> x+A
We can only propagate the nsw bits if both subtraction instructions are
marked with the appropriate bit.
N.B. We only propagate the nsw bit in InstCombine because the nuw case
is already handled in InstSimplify.
This fixes PR20189.
llvm-svn: 214385
Diffstat (limited to 'lldb/source/Plugins/DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernel.cpp')
0 files changed, 0 insertions, 0 deletions