18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=bmi2 | FileCheck %s3 4define i32 @hoge(i32 %a) {5; CHECK-LABEL: hoge:6; CHECK: # %bb.0: # %bb7; CHECK-NEXT: movl $15, %eax8; CHECK-NEXT: bzhil %edi, %eax, %eax9; CHECK-NEXT: shll $8, %eax10; CHECK-NEXT: retq11bb:12 %tmp3 = shl nsw i32 -1, %a13 %tmp4 = xor i32 %tmp3, -114 %tmp5 = shl i32 %tmp4, 815 %tmp6 = and i32 %tmp5, 384016 ret i32 %tmp617}18