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 | 38d2b2442feaa777cf87c5f57939b158f04735fe (patch) | |
tree | 373d059509ecdc5908896b64d1102a05572a3d9d /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | 18ec81b8547515e3163bd43a354782075a0a47bd (diff) | |
download | llvm-38d2b2442feaa777cf87c5f57939b158f04735fe.zip llvm-38d2b2442feaa777cf87c5f57939b158f04735fe.tar.gz llvm-38d2b2442feaa777cf87c5f57939b158f04735fe.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.
llvm-svn: 170128
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions