repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
avx512-inc-dec.ll
blob
4fa4f27beb7982888e17200ccba6edf537c1bf26
1
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
2
3
;CHECK-LABEL: test
4
;CHECK-NOT: dec
5
;CHECK-NOT: enc
6
;CHECK: ret
7
define i32 @test(i32 %a, i32 %b) {
8
%a1 = add i32 %a, -1
9
%b1 = add i32 %b, 1
10
%res = mul i32 %a1, %b1
11
ret i32 %res
12
}
13