From 9f54dbe7a11d4d2140dd6269a3fe440fdf2cb0f2 Mon Sep 17 00:00:00 2001 From: Juergen Ributzka Date: Thu, 6 Aug 2015 22:13:48 +0000 Subject: 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 --- llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll') 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 { -- cgit v1.2.3