1 ; RUN: llvm-as < %s -disable-output 2>&1 | FileCheck %s -allow-empty
4 ; RUN: verify-uselistorder < %s
6 ; Check ordering of callee operand versus the argument operand.
7 define void @call(ptr %p) {
8 call void (...) %p(ptr %p)
12 ; Check ordering of callee operand versus the argument operand.
13 declare void @personality(ptr)
14 define void @invoke(ptr %p) personality ptr @personality {
16 invoke void (...) %p(ptr %p)
17 to label %normal unwind label %exception
21 landingpad { ptr, i32 } cleanup
25 ; Check order for callbr instruction. Cannot reuse labels in the test since the
26 ; verifier prevents duplicating callbr destinations.
27 define void @callbr() {
29 callbr i32 asm "", "=r,r,!i,!i"(i32 0)
30 to label %one [label %two, label %three]