You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,3 +0,0 @@
|
||||
if not 'Sparc' in config.root.targets:
|
||||
config.unsupported = True
|
||||
|
@ -1,32 +0,0 @@
|
||||
; RUN: opt < %s -simplifycfg -S -mtriple=sparc-unknown-unknown | FileCheck %s
|
||||
|
||||
; Check that switches are not turned into lookup tables, as this is not
|
||||
; considered profitable on the target.
|
||||
|
||||
define i32 @f(i32 %c) nounwind uwtable readnone {
|
||||
entry:
|
||||
switch i32 %c, label %sw.default [
|
||||
i32 42, label %return
|
||||
i32 43, label %sw.bb1
|
||||
i32 44, label %sw.bb2
|
||||
i32 45, label %sw.bb3
|
||||
i32 46, label %sw.bb4
|
||||
i32 47, label %sw.bb5
|
||||
i32 48, label %sw.bb6
|
||||
]
|
||||
|
||||
sw.bb1: br label %return
|
||||
sw.bb2: br label %return
|
||||
sw.bb3: br label %return
|
||||
sw.bb4: br label %return
|
||||
sw.bb5: br label %return
|
||||
sw.bb6: br label %return
|
||||
sw.default: br label %return
|
||||
return:
|
||||
%retval.0 = phi i32 [ 15, %sw.default ], [ 1, %sw.bb6 ], [ 62, %sw.bb5 ], [ 27, %sw.bb4 ], [ -1, %sw.bb3 ], [ 0, %sw.bb2 ], [ 123, %sw.bb1 ], [ 55, %entry ]
|
||||
ret i32 %retval.0
|
||||
|
||||
; CHECK-LABEL: @f(
|
||||
; CHECK-NOT: getelementptr
|
||||
; CHECK: switch i32 %c
|
||||
}
|
Reference in New Issue
Block a user