comparison test/CodeGen/PowerPC/crbit-asm.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents afa8332a0e37
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
96:6418606d0ead 100:7d135dc70f03
1 ; RUN: llc -mcpu=pwr7 < %s | FileCheck %s 1 ; RUN: llc -mcpu=pwr7 < %s | FileCheck %s
2 ; RUN: llc -O1 -mcpu=pwr7 < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64" 3 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu" 4 target triple = "powerpc64-unknown-linux-gnu"
4 5
5 define zeroext i1 @testi1(i1 zeroext %b1, i1 zeroext %b2) #0 { 6 define zeroext i1 @testi1(i1 zeroext %b1, i1 zeroext %b2) #0 {
6 entry: 7 entry:
53 ; CHECK-DAG: li [[REG4:[0-9]+]], 1 54 ; CHECK-DAG: li [[REG4:[0-9]+]], 1
54 ; CHECK: isel 3, [[REG4]], [[REG1]], [[REG3]] 55 ; CHECK: isel 3, [[REG4]], [[REG1]], [[REG3]]
55 ; CHECK: blr 56 ; CHECK: blr
56 } 57 }
57 58
58 attributes #0 = { nounwind } 59 attributes #0 = { nounwind "target-features"="+crbits" }
59 60