mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
Testcase for r79597.
llvm-svn: 79598
This commit is contained in:
parent
972db4c0d3
commit
a6999a9051
7
test/FrontendC/ptr-rotate.c
Normal file
7
test/FrontendC/ptr-rotate.c
Normal file
@ -0,0 +1,7 @@
|
||||
// RUN: %llvmgcc %s -c -m32 -o /dev/null
|
||||
// RUN: %llvmgcc %s -S -O1 -m32 -emit-llvm -o - | llc -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));
|
||||
}
|
Loading…
Reference in New Issue
Block a user