1; RUN: llc < %s -mtriple=i686-linux -show-mc-encoding | FileCheck %s 2; RUN: llc < %s -mtriple=x86_64-linux -show-mc-encoding | FileCheck %s 3 4declare void @foo() 5declare void @bar() 6 7define void @f(i32 %x, i32 %y) optsize { 8entry: 9 %p = icmp eq i32 %x, %y 10 br i1 %p, label %bb1, label %bb2 11bb1: 12 tail call void @foo() 13 ret void 14bb2: 15 tail call void @bar() 16 ret void 17} 18 19; CHECK-LABEL: f: 20; CHECK: cmp 21; CHECK: jne bar 22; Check that the asm doesn't just look good, but uses the correct encoding. 23; CHECK: encoding: [0x75,A] 24 25; CHECK: jmp foo 26