mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 00:12:50 +01:00
020f241883
automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
8 lines
294 B
C
8 lines
294 B
C
// RUN: %llvmgcc %s -S -m32 -o /dev/null
|
|
// RUN: %llvmgcc %s -S -O1 -m32 -o - | llc -march=x86 -mtriple=i386-apple-darwin9.7 | FileCheck %s -check-prefix=DARWIN
|
|
|
|
unsigned int func(void *A) {
|
|
// DARWIN: roll $27
|
|
return ((((unsigned long long) A) >> 5) | (((unsigned long long) A) << 27));
|
|
}
|