• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2
3define i32 @f1(i32 %a, i32 %b) {
4    %tmp = xor i32 %b, 4294967295
5    %tmp1 = and i32 %a, %tmp
6    ret i32 %tmp1
7}
8
9; CHECK: bic	r0, r0, r1
10
11define i32 @f2(i32 %a, i32 %b) {
12    %tmp = xor i32 %b, 4294967295
13    %tmp1 = and i32 %tmp, %a
14    ret i32 %tmp1
15}
16
17; CHECK: bic	r0, r0, r1
18