diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-20 22:37:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-20 22:37:05 +0000 |
commit | 3dfd61b910522fcac5d4c6d1dc55ee581a8b376d (patch) | |
tree | 254cb859e16208658a527b3079bfa46ae49c8b62 /test/CodeGen/PowerPC | |
parent | 26d5d16a2c8ef6c0763afbfe06c940c40c461d6e (diff) | |
download | external_llvm-3dfd61b910522fcac5d4c6d1dc55ee581a8b376d.zip external_llvm-3dfd61b910522fcac5d4c6d1dc55ee581a8b376d.tar.gz external_llvm-3dfd61b910522fcac5d4c6d1dc55ee581a8b376d.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26906 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r-- | test/CodeGen/PowerPC/load-constant-addr.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/load-constant-addr.ll b/test/CodeGen/PowerPC/load-constant-addr.ll new file mode 100644 index 0000000..c4d8f97 --- /dev/null +++ b/test/CodeGen/PowerPC/load-constant-addr.ll @@ -0,0 +1,9 @@ +; Should fold the ori into the lfs. +; RUN: llvm-as < %s | llc -march=ppc32 | grep lfs && +; RUN: llvm-as < %s | llc -march=ppc32 | not grep ori + +float %test() { + %tmp.i = load float* cast (uint 186018016 to float*) + ret float %tmp.i +} + |