Go to file
Hal Finkel d9963c75da [PowerPC] Fix rlwimi isel when mask is not constant
We had been using the known-zero values of the operand of the or to construct
the mask for an rlwimi; this is not quite correct, but fine when the mask is
constant. When the mask is constant, then the known zeros of the operand must
be a superset of the zeros in the mask. However, when the mask is not a
constant, then there might be bits in the operand that are not known to be zero
that, at runtime, might be zero in the mask. Therefore, we check that any bits
not known to be zero *are* known to be one in the mask. Otherwise, we can't
fold the mask with the or and shift.

This was revealed as a miscompile of
MultiSource/Benchmarks/BitBench/drop3/drop3 when I started experimenting with
constant hoisting.

llvm-svn: 206136
2014-04-13 17:10:58 +00:00
clang Improve error recovery around colon. 2014-04-13 16:52:03 +00:00
clang-tools-extra test/clang-tidy/redundant-smartptr-get*.cpp: Both of them really require shell. 2014-04-10 03:17:22 +00:00
compiler-rt tsan: serialize report printing in standalone deadlock detector 2014-04-11 17:54:27 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Introduce M_LOG2E_F and M_LOG2E 2014-03-28 21:19:03 +00:00
libcxx Not everyone uses bash, so fix test syntax. 2014-04-12 21:12:55 +00:00
libcxxabi Properly sign extend sdata2/4 in unwinder. Patch by Patrick Wildt 2014-04-12 23:22:52 +00:00
lld Add missing includes. 2014-04-12 16:32:42 +00:00
lldb Fixed SBThread.GetStopReasonDataAtIndex() to correctly return breakpoint location ID. 2014-04-11 17:27:02 +00:00
llvm [PowerPC] Fix rlwimi isel when mask is not constant 2014-04-13 17:10:58 +00:00
openmp Add the offload directory which contains the code needed to support 2014-04-09 15:40:23 +00:00
polly Update isl to fix memory bugs 2014-04-13 16:37:18 +00:00