diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-13 14:28:16 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-12-13 14:28:16 +0000 |
commit | bb9004e0dcef07ef7538784e46bbdd3cb3789d24 (patch) | |
tree | 61ea6a8a09409e74a6b1d24ad7efc61664d97356 /test/Transforms/SCCP/atomic-load-store.ll | |
parent | dbabd5acad7f2b483f12469648cab2d3445b90e2 (diff) | |
download | external_llvm-bb9004e0dcef07ef7538784e46bbdd3cb3789d24.zip external_llvm-bb9004e0dcef07ef7538784e46bbdd3cb3789d24.tar.gz external_llvm-bb9004e0dcef07ef7538784e46bbdd3cb3789d24.tar.bz2 |
Revert r170020, "Simplify negated bit test", for now.
This assumes (1 << n) is always not zero. Consider n is greater than word size.
Although I know it is undefined, this transforms undefined behavior hidden.
This led clang unexpected behavior with some failures. I will investigate to fix undefined shl in clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP/atomic-load-store.ll')
0 files changed, 0 insertions, 0 deletions