repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation tests. NFC
[llvm-complete.git]
/
test
/
Transforms
/
SCCP
/
switch.ll
blob
155faa5c6067d03028c460dba13b383a1dd03569
1
; RUN: opt -S -sccp < %s | FileCheck %s
2
3
; Make sure we always consider the default edge executable for a switch
4
; with no cases.
5
declare void @foo()
6
define void @test1() {
7
; CHECK-LABEL: define void @test1(
8
; CHECK: call void @foo()
9
switch i32 undef, label %d []
10
d:
11
call void @foo()
12
ret void
13
}