1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -verify-machineinstrs \
3 ; RUN: -mcpu=pwr8 -mattr=+htm < %s | FileCheck %s
5 define dso_local void @main() #0 {
9 ; CHECK-NEXT: tabortwci. 0, 3, 0
10 ; CHECK-NEXT: mfocrf 3, 128
11 ; CHECK-NEXT: srwi 3, 3, 28
12 ; CHECK-NEXT: rlwinm. 3, 3, 31, 30, 31
13 ; CHECK-NEXT: beqlr+ 0
14 ; CHECK-NEXT: # %bb.1:
15 %1 = call i64 @llvm.ppc.ttest() #1
18 %4 = icmp eq i64 %3, 0
19 br i1 %4, label %5, label %6
28 ; Function Attrs: nounwind
29 declare i64 @llvm.ppc.ttest() #1