aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll')
-rw-r--r--llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll b/llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll
deleted file mode 100644
index 8ec5d9f..0000000
--- a/llvm/test/CodeGen/PowerPC/toc-data-peephole-aligment.ll
+++ /dev/null
@@ -1,16 +0,0 @@
-; RUN: llc -mtriple powerpc64-ibm-aix-xcoff -verify-machineinstrs < %s | FileCheck %s
-
-@underaligned = dso_local global i32 123, align 1 #0
-
-define i64 @read() {
-entry:
- %0 = load i32, ptr @underaligned, align 1
- %1 = sext i32 %0 to i64
- ret i64 %1
-}
-
-attributes #0 = { "toc-data" }
-
-; CHECK-LABEL: .read
-; CHECK: la [[DEF:[0-9]+]], underaligned[TD](2)
-; CHCEK: lwa {{[0-9]+}}, 0([[DEF]])