repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use conditional internal functions in if-conversion
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
cmp_shifted_reg_1.c
blob
cacecf4e71d2b74132eadfe97078a99fbf3fb811
1
/* { dg-do compile } */
2
/* { dg-options "-O2 " } */
3
4
int
f3
(
int
x
,
int
y
)
5
{
6
int
res
=
x
<<
3
;
7
return
res
!=
0
;
8
}
9
10
/* We should combine the shift and compare */
11
/* { dg-final { scan-assembler "cmp\.*\twzr, w\[0-9\]+, lsl 3" } } */