llvm with tablegen backend for capstone disassembler
Go to file
Hal Finkel a2cdbce661 [PowerPC] Fixup SELECT_CC (and SETCC) patterns with i1 comparison operands
There were really two problems here. The first was that we had the truth tables
for signed i1 comparisons backward. I imagine these are not very common, but if
you have:
  setcc i1 x, y, LT
this has the '0 1' and the '1 0' results flipped compared to:
  setcc i1 x, y, ULT
because, in the signed case, '1 0' is really '-1 0', and the answer is not the
same as in the unsigned case.

The second problem was that we did not have patterns (at all) for the unsigned
comparisons select_cc nodes for i1 comparison operands. This was the specific
cause of PR24552. These had to be added (and a missing Altivec promotion added
as well) to make sure these function for all types. I've added a bunch more
test cases for these patterns, and there are a few FIXMEs in the test case
regarding code-quality.

Fixes PR24552.

llvm-svn: 246400
2015-08-30 22:12:50 +00:00
clang [OpenCL] Improve diagnostics detecting implicit vector conversion. 2015-08-30 18:06:39 +00:00
clang-tools-extra Updated to make use of the AST matcher instead of a custom matcher; NFC. 2015-08-28 19:40:30 +00:00
compiler-rt [compiler-rt] [tsan] Enable TSan for AArch64/42-bit VMA 2015-08-28 20:40:50 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Update mailing list reference. 2015-08-24 22:43:24 +00:00
libcxx Suppress clang warnings in some tests 2015-08-30 22:04:20 +00:00
libcxxabi Fix or disable C++11 tests in C++03 mode 2015-08-20 01:22:17 +00:00
libunwind [libunwind] Remove unused includes. 2015-08-27 06:58:31 +00:00
lld [ELFv2] Implement R_X86_64_32 relocation. 2015-08-29 13:15:42 +00:00
lldb Differential Review: http://reviews.llvm.org/D12363 2015-08-28 14:42:03 +00:00
llgo Update to new lists.llvm.org 2015-08-05 04:03:05 +00:00
llvm [PowerPC] Fixup SELECT_CC (and SETCC) patterns with i1 comparison operands 2015-08-30 22:12:50 +00:00
openmp Add kmp_config.h.cmake 2015-08-28 19:24:39 +00:00
polly Traverse the SCoP to compute non-loop-carried domain conditions 2015-08-30 21:13:53 +00:00