Revert r85049, it is causing PR5367

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85847 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2009-11-03 00:24:48 +00:00
parent b62d257cf5
commit ab453e0641
2 changed files with 3 additions and 1 deletions

View File

@ -257,6 +257,7 @@ const TargetRegisterClass *
ARMBaseRegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A, ARMBaseRegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A,
const TargetRegisterClass *B, const TargetRegisterClass *B,
unsigned SubIdx) const { unsigned SubIdx) const {
#if 0
switch (SubIdx) { switch (SubIdx) {
default: return 0; default: return 0;
case 1: case 1:
@ -277,6 +278,7 @@ ARMBaseRegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A,
// D sub-registers. // D sub-registers.
return A; return A;
} }
#endif
return 0; return 0;
} }

View File

@ -1,4 +1,4 @@
; RUN: llc -mcpu=cortex-a8 < %s | grep vmov | count 1 ; RUN: llc -mcpu=cortex-a8 < %s | grep vmov | count 2
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 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" target triple = "armv7-eabi"