blob: 6235774fe246e27bd46d129106b98c5a5a762844 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Check for unnecessary register moves. */
/* { dg-options "-mthumb -Os" } */
/* { dg-require-effective-target arm_thumb1_ok } */
int f(int x)
{
return x*42;
}
/* { dg-final { scan-assembler-not "mov\[\\t \]*r0," } } */
|