• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7
2
3define void @test1(i1 %x, i8 %x2, i8* %x3, i64 %x4) {
4entry:
5  %tmp3 = and i64 %x4, 16
6  %bf.shl = trunc i64 %tmp3 to i8
7  %bf.clear = and i8 %x2, -17
8  %bf.set = or i8 %bf.shl, %bf.clear
9  br i1 %x, label %if.then, label %if.end
10
11if.then:
12  ret void
13
14if.end:
15  store i8 %bf.set, i8* %x3, align 4
16  ret void
17}
18