summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2014-01-22 22:34:17 +0000
committerOwen Anderson <resistor@mac.com>2014-01-22 22:34:17 +0000
commit77e4d444113557c62add7919204d81f60c772ce4 (patch)
treea5a8a775446c2cceb07aabeb9e1f62bc8a0fd6ca /llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
parent88b3cc7090ba6b47450bfa4648bc813daadcd360 (diff)
downloadbcm5719-llvm-77e4d444113557c62add7919204d81f60c772ce4.tar.gz
bcm5719-llvm-77e4d444113557c62add7919204d81f60c772ce4.zip
Revert r162101 and replace it with a solution that works for targets where the pointer type is illegal.
This is a horrible bit of code. We're calling a simplification routine *in the middle* of type legalization. We tell the simplification routine that it's running after legalization, but some of the types it will encounter will be illegal! The fix is only to invoke the simplification if the types in question were legal, so that none of its invariants will be violated. llvm-svn: 199847
Diffstat (limited to 'llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll')
-rw-r--r--llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll b/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
index 971e56d20ea..0d18267fcde 100644
--- a/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
+++ b/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll
@@ -27,5 +27,5 @@ if.end: ; preds = %if.then, %entry
; CHECK-LABEL: fn1:
; CHECK: shrq $32, [[REG:%.*]]
-; CHECK: je
+; CHECK: sete
}
OpenPOWER on IntegriCloud