diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-07 15:38:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-07 15:38:50 +0000 |
commit | 13b29f6844b93c3c8d650dfaca0527517b78a675 (patch) | |
tree | 7a19b73a8698a9981bd7d6aba5bd1c0e5685c812 /test/Transforms | |
parent | 546516c3c00494b92706b23455961a35d21ebd0d (diff) | |
download | external_llvm-13b29f6844b93c3c8d650dfaca0527517b78a675.zip external_llvm-13b29f6844b93c3c8d650dfaca0527517b78a675.tar.gz external_llvm-13b29f6844b93c3c8d650dfaca0527517b78a675.tar.bz2 |
New testcase for PR336
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll b/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll new file mode 100644 index 0000000..6776ff1 --- /dev/null +++ b/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output + +%Ty = type opaque + +int %test(%Ty *%X) { + %Y = cast %Ty* %X to int* + %Z = load int* %Y + ret int %Z +} |