1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00
llvm-mirror/test/Assembler/2003-05-15-SwitchBug.ll
Duncan P. N. Exon Smith d5508bfe28 verify-uselistorder: Change the default -num-shuffles=5
Change the default for `-num-shuffles` to 5 and better document the
algorithm in the header docs of `verify-uselistorder`.

llvm-svn: 214419
2014-07-31 18:46:24 +00:00

13 lines
248 B
LLVM

; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order
; Check minimal switch statement
define void @test(i32 %X) {
switch i32 %X, label %dest [
]
dest: ; preds = %0
ret void
}