1; Trivial smoke test of icmp without fused branch opportunity. 2 3; RUN: %p2i -i %s --filetype=obj --disassemble --args \ 4; RUN: -allow-externally-defined-symbols | FileCheck %s 5 6; Check that correct addressing modes are used for comparing two 7; immediates. 8define internal void @testIcmpImm() { 9entry: 10 %cmp = icmp eq i32 1, 2 11 %cmp_ext = zext i1 %cmp to i32 12 tail call void @use(i32 %cmp_ext) 13 ret void 14} 15; CHECK-LABEL: testIcmpImm 16; CHECK-NOT: cmp {{[0-9]+}}, 17 18declare void @use(i32) 19