summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2015-08-06 22:13:48 +0000
committerJuergen Ributzka <juergen@apple.com>2015-08-06 22:13:48 +0000
commit9f54dbe7a11d4d2140dd6269a3fe440fdf2cb0f2 (patch)
tree36d62d23e3a390a3e8688b2cc5c02f7206867312 /llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll
parentb6dfd9490bf0a346248d921b110688b5a951cb5b (diff)
downloadbcm5719-llvm-9f54dbe7a11d4d2140dd6269a3fe440fdf2cb0f2.tar.gz
bcm5719-llvm-9f54dbe7a11d4d2140dd6269a3fe440fdf2cb0f2.zip
Revert "[AArch64][FastISel] Add more truncation tests." and "[AArch64][FastISel] Always use an AND instruction when truncating to non-legal types."
This reverts commit r243198 and 243304. Turns out this wasn't the correct fix for this problem. It works only within FastISel, but fails when the truncate is selected by SDAG. llvm-svn: 244287
Diffstat (limited to 'llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll b/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll
index f6f79fd1a70..6a17ec502a0 100644
--- a/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll
+++ b/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll
@@ -1,4 +1,4 @@
-; RUN: llc %s -o - -O2 -verify-machineinstrs -fast-isel=true | FileCheck %s
+; RUN: llc %s -o - -O0 -verify-machineinstrs -fast-isel=true | FileCheck %s
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "arm64-apple-ios8.0.0"
@@ -7,7 +7,7 @@ target triple = "arm64-apple-ios8.0.0"
; This was incorrect as %.mux isn't available in the last bb.
; CHECK: sxtw [[REG:x[0-9]+]]
-; CHECK: strh wzr, {{\[}}{{.*}}, [[REG]], lsl #1]
+; CHECK: strh wzr, {{\[}}[[REG]], {{.*}}, lsl #1]
; Function Attrs: nounwind optsize ssp
define void @EdgeLoop(i32 %dir, i32 %edge, i32 %width, i16* %tmp89, i32 %tmp136, i16 %tmp144) #0 {
OpenPOWER on IntegriCloud