mirror of
https://github.com/RPCS3/llvm.git
synced 2025-03-02 07:37:02 +00:00
Testcase for r79597.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79598 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e250f2a5ee
commit
f7a86a4e1d
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…
x
Reference in New Issue
Block a user