Go to file
Kevin Qin 5cd73c9e0a [AArch64 NEON] Fix invalid constant used in vselect condition.
There is a wrong assumption that the vector element type and the
type of each ConstantSDNode in the build_vector were the same.
However, when promoting the integer operand of a legally typed
build_vector, the operand type and the vector element type do not
need to be the same
(See method 'DAGTypeLegalizer::PromoteIntOp_BUILD_VECTOR' in
LegalizeIntegerTypes.cpp).

  in AArch64 backend, the following dag sequence:

  C0: i1 = Constant<0>
  C1: i1 = Constant<-1>
  V: v8i1 = BUILD_VECTOR C1, C1, C0, C0, C0, C0, C0, C0

  is type-legalized into:

  NewC0: i32 = Constant<0>
  NewC1: i32 = Constant<1>
  V: v8i8 = BUILD_VECTOR NewC1, NewC1, NewC0, NewC0, NewC0, NewC0, NewC0, NewC0

Forcing a getZeroExtend to VTBits to ensure that the new constant
is correctly.

llvm-svn: 198582
2014-01-06 02:26:10 +00:00
clang This helper method isn't needed, and it's unsafe for it to use StringRef in the first place. Replaced the unsafe code with the proper accessor. 2014-01-05 21:08:29 +00:00
clang-tools-extra A follow-up to r198426: move AnalysisConsumer.h to include/clang/... 2014-01-03 17:24:20 +00:00
compiler-rt Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
debuginfo-tests don't use CHECK-NEXT because it may be on the same line. 2013-09-18 23:01:54 +00:00
libclc Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
libcxx Switch to using C++ style casts. 2014-01-04 17:43:00 +00:00
libcxxabi Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
lld Replace nested switch statements. 2014-01-05 02:41:07 +00:00
lldb Use Address::SetLoadAddress() instead of SectionLoadList::ResolveLoadAddress(). 2014-01-04 01:37:52 +00:00
llvm [AArch64 NEON] Fix invalid constant used in vselect condition. 2014-01-06 02:26:10 +00:00
openmp For your Christmas hacking pleasure. 2013-12-23 17:28:57 +00:00
polly Temporarily reformat Polly to silence buildbots 2014-01-06 01:37:13 +00:00