Go to file
Jakob Stoklund Olesen 6b556f824d Handle <undef> operands in TwoAddressInstructionPass.
When the source register to a 2-addr instruction is undefined, there is
no need to attempt any transformations - simply replace the source
register with the destination register.

This also comes up when lowering IMPLICIT_DEF instructions - make sure
the <undef> flag is moved to the new partial register def operand:

  %vreg8<def> = INSERT_SUBREG %vreg9<undef>, %vreg0<kill>, sub_16bit
rewrite undef:
  %vreg8<def> = INSERT_SUBREG %vreg8<undef>, %vreg0<kill>, sub_16bit
convert to:
  %vreg8:sub_16bit<def,read-undef> = COPY %vreg0<kill>

llvm-svn: 159120
2012-06-25 03:27:12 +00:00
clang Add testing for CommentHandler, and fix a bug where trailing comments in #else 2012-06-24 23:56:26 +00:00
compiler-rt [asan] fix -Wsign-compare 2012-06-23 16:30:48 +00:00
debuginfo-tests Fix this for buggy gdb behavior alongside the change 2012-06-05 18:16:03 +00:00
libclc configure.py: Add an install rule. 2012-06-01 17:29:59 +00:00
libcxx Revert pair constructors back to using is_convertible instead of is_constructible. This should pull things into alignment with the final draft. Fixes http://llvm.org/bugs/show_bug.cgi?id=13063#add_comment. 2012-06-09 20:01:23 +00:00
libcxxabi Don't dereference root in __parse_ctor_dtor_name unless it is known to not be null. 2012-06-15 21:57:51 +00:00
lld Fix link order. Patch by Sidney Manning. 2012-06-21 22:42:00 +00:00
lldb The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason. 2012-06-22 20:42:22 +00:00
llvm Handle <undef> operands in TwoAddressInstructionPass. 2012-06-25 03:27:12 +00:00
polly Add TempScop::isWrite() function. 2012-06-22 10:59:36 +00:00