source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/bic.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 336 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.