diff options
author | Owen Anderson <resistor@mac.com> | 2014-01-22 22:34:17 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2014-01-22 22:34:17 +0000 |
commit | 9920bd341a7f6ddb887c397d41328848aba43a8d (patch) | |
tree | 2eb6edc9c2086715748f14d1f3b793288afd74b6 /test/CodeGen/X86/2012-08-17-legalizer-crash.ll | |
parent | 4c72b6da97b27f2849017c282699ea94c575602e (diff) | |
download | llvm-9920bd341a7f6ddb887c397d41328848aba43a8d.tar.gz llvm-9920bd341a7f6ddb887c397d41328848aba43a8d.tar.bz2 llvm-9920bd341a7f6ddb887c397d41328848aba43a8d.tar.xz |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2012-08-17-legalizer-crash.ll')
-rw-r--r-- | test/CodeGen/X86/2012-08-17-legalizer-crash.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2012-08-17-legalizer-crash.ll b/test/CodeGen/X86/2012-08-17-legalizer-crash.ll index 971e56d20e..0d18267fcd 100644 --- a/test/CodeGen/X86/2012-08-17-legalizer-crash.ll +++ b/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 } |