[llvm] r221629 - Reverting r221626 due to a too-strict test.
Michael Kuperstein
michael.m.kuperstein at intel.com
Mon Nov 10 13:07:41 PST 2014
Author: mkuper
Date: Mon Nov 10 15:07:41 2014
New Revision: 221629
URL: http://llvm.org/viewvc/llvm-project?rev=221629&view=rev
Log:
Reverting r221626 due to a too-strict test.
Removed:
llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll
Modified:
llvm/trunk/lib/Target/X86/X86InstrCompiler.td
Modified: llvm/trunk/lib/Target/X86/X86InstrCompiler.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrCompiler.td?rev=221629&r1=221628&r2=221629&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrCompiler.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrCompiler.td Mon Nov 10 15:07:41 2014
@@ -1191,7 +1191,6 @@ def def32 : PatLeaf<(i32 GR32:$src), [{
return N->getOpcode() != ISD::TRUNCATE &&
N->getOpcode() != TargetOpcode::EXTRACT_SUBREG &&
N->getOpcode() != ISD::CopyFromReg &&
- N->getOpcode() != ISD::AssertSext &&
N->getOpcode() != X86ISD::CMOV;
}]>;
Removed: llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll?rev=221628&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll (original)
+++ llvm/trunk/test/CodeGen/X86/TruncAssertZext.ll (removed)
@@ -1,16 +0,0 @@
-; RUN: llc < %s -O2 -march=x86-64 | FileCheck %s
-; Checks that a zeroing mov is inserted for the trunc/zext pair even when
-; the source of the zext is an AssertSext node
-; PR20494
-
-define i64 @main(i64 %a) {
-; CHECK-LABEL: main
-; CHECK: movl %ecx, %eax
-; CHECK: ret
- %or = or i64 %a, -2
- %trunc = trunc i64 %or to i32
- br label %l
-l:
- %ext = zext i32 %trunc to i64
- ret i64 %ext
-}
More information about the llvm-commits
mailing list