Fix PR5421 by APInt'izing switch lowering.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-11-07 07:50:34 +00:00
parent cb19438f63
commit e880efe446
3 changed files with 36 additions and 20 deletions

View File

@@ -1,8 +1,22 @@
; RUN: llc < %s
; PR5421
define void @test1() {
entry:
switch i128 undef, label %exit [
i128 55340232221128654848, label %exit
i128 92233720368547758080, label %exit
i128 73786976294838206464, label %exit
i128 147573952589676412928, label %exit
]
exit:
unreachable
}
; PR1197
define void @exp_attr__expand_n_attribute_reference() {
define void @test2() {
entry:
br i1 false, label %cond_next954, label %cond_true924