forked from OSchip/llvm-project
9 lines
235 B
C
9 lines
235 B
C
|
// REQUIRES: arm-registered-target
|
||
|
// RUN: %clang -target arm-none-eabi -mcpu=cortex-m4 -mfpu=none -S -o - %s | FileCheck %s
|
||
|
|
||
|
// CHECK-LABEL: compute
|
||
|
// CHECK-NOT: {{s[0-9]}}
|
||
|
float compute(float a, float b) {
|
||
|
return (a+b) * (a-b);
|
||
|
}
|