aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-11-14 02:55:43 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-11-14 02:55:43 +0000
commitd57cdd5683ea926e489067364fb7ffe5fd5d35ee (patch)
tree61789ba40d1ea3b318e423f82bc50720f4a114d2 /test
parent4ec01b268e85b62b0eabe27d8fd97e8066a81b8f (diff)
downloadexternal_llvm-d57cdd5683ea926e489067364fb7ffe5fd5d35ee.zip
external_llvm-d57cdd5683ea926e489067364fb7ffe5fd5d35ee.tar.gz
external_llvm-d57cdd5683ea926e489067364fb7ffe5fd5d35ee.tar.bz2
- Change TargetInstrInfo::reMaterialize to pass in TargetRegisterInfo.
- If destination is a physical register and it has a subreg index, use the sub-register instead. This fixes PR5423. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll b/test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll
index fe177c3..dd2845f 100644
--- a/test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll
+++ b/test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll
@@ -1,5 +1,6 @@
; RUN: llc -mcpu=cortex-a8 < %s | FileCheck %s
-; XFAIL: *
+; PR5423
+
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64"
target triple = "armv7-eabi"