llvm/lib
Dale Johannesen 85b0edec46 Make a transformation added in 63266 a bit less aggressive.
It was transforming (x&y)==y to (x&y)!=0 in the case where
y is variable and known to have at most one bit set (e.g. z&1).
This is not correct; the expressions are not equivalent when y==0.
I believe this patch salvages what can be salvaged, including
all the cases in bt.ll.  Dan, please review.
Fixes gcc.c-torture/execute/20040709-[12].c



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64314 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-11 19:19:41 +00:00
..
Analysis Revert r64300 and r64301. These were causing the following errors respectively: 2009-02-11 18:19:24 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser Pacify gcc-4.3 (thinks IsConstant may be used 2009-02-10 16:24:55 +00:00
Bitcode fix a bitcode reader bug where it can't handle extractelement correctly: 2009-02-03 02:11:28 +00:00
CodeGen Make a transformation added in 63266 a bit less aggressive. 2009-02-11 19:19:41 +00:00
Debugger Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ExecutionEngine Split the locking out of JIT::runJITOnFunction so that callers 2009-02-06 21:25:08 +00:00
Linker Add the private linkage. 2009-01-15 20:18:42 +00:00
Support Add an API for strings with possible NULLs in the middle. Refactor the other 2009-02-07 04:57:08 +00:00
System Use const, to support platforms where strrchr returns a const char *. 2009-02-10 17:56:28 +00:00
Target Handle llvm.x86.sse2.maskmov.dqu in 64-bit. 2009-02-10 22:06:28 +00:00
Transforms If llvm.dbg.region.end is disappearing then remove corresponding llvm.dbg.func.start also. 2009-02-11 01:29:06 +00:00
VMCore Revert r64300 and r64301. These were causing the following errors respectively: 2009-02-11 18:19:24 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00