summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/ThreadLocal.inc
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-08-22 17:11:04 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-08-22 17:11:04 +0000
commit49775e0173cb852b4f4e9e9105cddbbff4872dd3 (patch)
treea7e4c9cd7884ff3472dc12c3e0cb581873f9237c /llvm/lib/Support/Unix/ThreadLocal.inc
parent19ecd635fe4fa07ca6305e7074113efab8fb08ef (diff)
downloadbcm5719-llvm-49775e0173cb852b4f4e9e9105cddbbff4872dd3.tar.gz
bcm5719-llvm-49775e0173cb852b4f4e9e9105cddbbff4872dd3.zip
InstCombine: Don't unconditionally preserve 'nuw' when shrinking constants
Consider: %add = add nuw i32 %a, -16777216 %and = and i32 %add, 255 Regardless of whether or not we demand the sign bit of %add, we cannot replace -16777216 with 2130706432 without also removing 'nuw' from the instruction. llvm-svn: 216273
Diffstat (limited to 'llvm/lib/Support/Unix/ThreadLocal.inc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud