Go to file
Sanjay Patel bf51c8a975 [x86] fix usage of stale operands when lowering select
I noticed this problem as part of the ongoing attempt to canonicalize min/max ops in IR.

The debug output shows nodes like this:

t4: i32 = xor t2, Constant:i32<-1>
    t21: i8 = setcc t4, Constant:i32<0>, setlt:ch
  t14: i32 = select t21, t4, Constant:i32<-1>

And because the select is holding onto the t4 (xor) node while EmitTest creates a new 
x86-specific xor node, the lowering results in:

  t4: i32 = xor t2, Constant:i32<-1>
  t25: i32,i32 = X86ISD::XOR t2, Constant:i32<-1>
t28: i32,glue = X86ISD::CMOV Constant:i32<-1>, t4, Constant:i8<15>, t25:1

Differential Revision: https://reviews.llvm.org/D28374

llvm-svn: 291392
2017-01-08 15:53:40 +00:00
clang Fix tests with CLANG_DEFAULT_LINKER 2017-01-08 10:04:07 +00:00
clang-tools-extra Reapply "Fix for shared_ptrification in Clang" 2017-01-06 19:49:09 +00:00
compiler-rt tsan: Introducing a function to flush the shadow memory from third-party libraries 2017-01-07 11:27:33 +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 Fix build since r286752. 2016-11-14 16:06:33 +00:00
libcxx Replace identifiers called `__out` because Windows.h #defines it. 2017-01-07 11:27:06 +00:00
libcxxabi [libcxxabi] Enable tests by default in standalone. 2017-01-08 00:33:30 +00:00
libunwind EHABI: mark some functions as exported 2016-11-17 23:53:35 +00:00
lld Attempt to fix windows buildbot 2017-01-07 15:44:27 +00:00
lldb Fix dereferencing of pointers to empty classes 2017-01-07 16:39:07 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [x86] fix usage of stale operands when lowering select 2017-01-08 15:53:40 +00:00
openmp [CMake] Make openmp build under runtimes/ 2017-01-04 18:11:37 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly www: Add dates RSS news 2017-01-08 09:28:10 +00:00