Testcase for r79597.

llvm-svn: 79598
This commit is contained in:
Bill Wendling 2009-08-21 06:12:30 +00:00
parent 972db4c0d3
commit a6999a9051

View 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));
}