[llvm-commits] [llvm] r85847 - in /llvm/trunk: lib/Target/ARM/ARMBaseRegisterInfo.cpp test/CodeGen/ARM/2009-11-01-NeonMoves.ll
Anton Korobeynikov
asl at math.spbu.ru
Mon Nov 2 16:24:48 PST 2009
Author: asl
Date: Mon Nov 2 18:24:48 2009
New Revision: 85847
URL: http://llvm.org/viewvc/llvm-project?rev=85847&view=rev
Log:
Revert r85049, it is causing PR5367
Modified:
llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp
llvm/trunk/test/CodeGen/ARM/2009-11-01-NeonMoves.ll
Modified: llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp?rev=85847&r1=85846&r2=85847&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMBaseRegisterInfo.cpp Mon Nov 2 18:24:48 2009
@@ -257,6 +257,7 @@
ARMBaseRegisterInfo::getMatchingSuperRegClass(const TargetRegisterClass *A,
const TargetRegisterClass *B,
unsigned SubIdx) const {
+#if 0
switch (SubIdx) {
default: return 0;
case 1:
@@ -277,6 +278,7 @@
// D sub-registers.
return A;
}
+#endif
return 0;
}
Modified: llvm/trunk/test/CodeGen/ARM/2009-11-01-NeonMoves.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/2009-11-01-NeonMoves.ll?rev=85847&r1=85846&r2=85847&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/2009-11-01-NeonMoves.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/2009-11-01-NeonMoves.ll Mon Nov 2 18:24:48 2009
@@ -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 triple = "armv7-eabi"
More information about the llvm-commits
mailing list