summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/align-attr.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/InstCombine/align-attr.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/align-attr.ll28
1 files changed, 0 insertions, 28 deletions
diff --git a/llvm/test/Transforms/InstCombine/align-attr.ll b/llvm/test/Transforms/InstCombine/align-attr.ll
deleted file mode 100644
index 75a3766b7d1..00000000000
--- a/llvm/test/Transforms/InstCombine/align-attr.ll
+++ /dev/null
@@ -1,28 +0,0 @@
-; RUN: opt < %s -instcombine -S | FileCheck %s
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
-; Function Attrs: nounwind uwtable
-define i32 @foo1(i32* align 32 %a) #0 {
-entry:
- %0 = load i32, i32* %a, align 4
- ret i32 %0
-
-; CHECK-LABEL: @foo1
-; CHECK-DAG: load i32, i32* %a, align 32
-; CHECK: ret i32
-}
-
-define i32 @foo2(i32* align 32 %a) #0 {
-entry:
- %v = call i32* @func1(i32* %a)
- %0 = load i32, i32* %v, align 4
- ret i32 %0
-
-; CHECK-LABEL: @foo2
-; CHECK-DAG: load i32, i32* %v, align 32
-; CHECK: ret i32
-}
-
-declare i32* @func1(i32* returned) nounwind
-
OpenPOWER on IntegriCloud