mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 19:45:40 -04:00

Lots of tests are using an explicit target triple w/o first checking that the target is actually available. Add a REQUIRES clause to a bunch of them. This should hopefully unbreak bots which don't configure w/ all targets enabled. llvm-svn: 159949
11 lines
302 B
C
11 lines
302 B
C
// REQUIRES: arm-registered-target
|
|
// RUN: %clang_cc1 %s -emit-llvm -triple arm-apple-darwin -o - | FileCheck %s
|
|
// Radar 8026855
|
|
|
|
int test (void *src) {
|
|
register int w0 asm ("0");
|
|
// CHECK: call i32 asm "ldr $0, [$1]", "={r0}{{.*}}(i8*
|
|
asm ("ldr %0, [%1]": "=r" (w0): "r" (src));
|
|
return w0;
|
|
}
|