diff options
Diffstat (limited to 'llvm/test/Transforms')
| -rw-r--r-- | llvm/test/Transforms/BoundsChecking/simple.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Transforms/BoundsChecking/simple.ll b/llvm/test/Transforms/BoundsChecking/simple.ll index f24d9e1f8df..62c2e9026bc 100644 --- a/llvm/test/Transforms/BoundsChecking/simple.ll +++ b/llvm/test/Transforms/BoundsChecking/simple.ll @@ -107,3 +107,12 @@ define void @f10(i64 %x, i64 %y) nounwind { %4 = load i128* %3, align 4 ret void } + +; CHECK: @f11 +define void @f11(i128* byval %x) nounwind { + %1 = bitcast i128* %x to i8* + %2 = getelementptr inbounds i8* %1, i64 16 +; CHECK: br label + %3 = load i8* %2, align 4 + ret void +} |

