Go to file
Andrea Di Biagio 46dcddb350 Teach DAGCombiner how to fold a SIGN_EXTEND_INREG of a BUILD_VECTOR of
ConstantSDNodes (or UNDEFs) into a simple BUILD_VECTOR.

For example, given the following sequence of dag nodes:

  i32 C = Constant<1>
  v4i32 V = BUILD_VECTOR C, C, C, C
  v4i32 Result = SIGN_EXTEND_INREG V, ValueType:v4i1

The SIGN_EXTEND_INREG node can be folded into a build_vector since
the vector in input is a BUILD_VECTOR of constants.

The optimized sequence is:

  i32 C = Constant<-1>
  v4i32 Result = BUILD_VECTOR C, C, C, C

llvm-svn: 198084
2013-12-27 20:20:28 +00:00
clang Silence compile warning by removing unused SourceMgr member 2013-12-27 20:02:27 +00:00
clang-tools-extra Clang-tidy: added --disable-checks, --list-checks options. 2013-12-19 19:57:05 +00:00
compiler-rt [ASan] Delete asan_intercepted_functions.h, move the code into asan_interceptors.h 2013-12-26 15:34: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 Add floating-point macro definitions v2 2013-12-20 05:13:42 +00:00
libcxx Make cv_status a class enum. Fixes PR18314. Thanks to Andersca for the report and the patch. 2013-12-23 22:14:27 +00:00
libcxxabi Add a first cut at a Registers_arm class, to be used for 32bit arm EHABI unwinding. 2013-12-18 17:53:55 +00:00
lld [PECOFF] Add file extensions to temporary files. 2013-12-27 08:37:40 +00:00
lldb Fix sidebar links 2013-12-26 07:23:52 +00:00
llvm Teach DAGCombiner how to fold a SIGN_EXTEND_INREG of a BUILD_VECTOR of 2013-12-27 20:20:28 +00:00
openmp For your Christmas hacking pleasure. 2013-12-23 17:28:57 +00:00
polly www: Simplify css 2013-12-21 00:26:05 +00:00