[llvm-branch-commits] [llvm-branch] r85981 - in /llvm/branches/Apple/Leela/lib/Target/ARM: ARMBaseInstrInfo.cpp ARMInstrThumb.td ARMInstrThumb2.td
Bill Wendling
isanbard at gmail.com
Tue Nov 3 16:03:09 PST 2009
Author: void
Date: Tue Nov 3 18:03:09 2009
New Revision: 85981
URL: http://llvm.org/viewvc/llvm-project?rev=85981&view=rev
Log:
$ svn merge -c 85965 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r85965 into '.':
U lib/Target/ARM/ARMBaseInstrInfo.cpp
U lib/Target/ARM/ARMInstrThumb2.td
$ svn merge -c 85980 https://llvm.org/svn/llvm-project/llvm/trunk
--- Merging r85980 into '.':
U lib/Target/ARM/ARMInstrThumb.td
Modified:
llvm/branches/Apple/Leela/lib/Target/ARM/ARMBaseInstrInfo.cpp
llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb.td
llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb2.td
Modified: llvm/branches/Apple/Leela/lib/Target/ARM/ARMBaseInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/ARMBaseInstrInfo.cpp?rev=85981&r1=85980&r2=85981&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/ARMBaseInstrInfo.cpp (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/ARMBaseInstrInfo.cpp Tue Nov 3 18:03:09 2009
@@ -449,7 +449,7 @@
case ARM::Int_eh_sjlj_setjmp:
return 24;
case ARM::t2Int_eh_sjlj_setjmp:
- return 20;
+ return 22;
case ARM::BR_JTr:
case ARM::BR_JTm:
case ARM::BR_JTadd:
Modified: llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb.td?rev=85981&r1=85980&r2=85981&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb.td (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb.td Tue Nov 3 18:03:09 2009
@@ -326,9 +326,10 @@
"ldr", "\t$dst, $addr", []>;
// Load tconstpool
+// FIXME: Use ldr.n to work around a Darwin assembler bug.
let canFoldAsLoad = 1 in
def tLDRpci : T1pIs<(outs tGPR:$dst), (ins i32imm:$addr), IIC_iLoadi,
- "ldr", "\t$dst, $addr",
+ "ldr.n", "\t$dst, $addr",
[(set tGPR:$dst, (load (ARMWrapper tconstpool:$addr)))]>;
// Special LDR for loads from non-pc-relative constpools.
Modified: llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb2.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb2.td?rev=85981&r1=85980&r2=85981&view=diff
==============================================================================
--- llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb2.td (original)
+++ llvm/branches/Apple/Leela/lib/Target/ARM/ARMInstrThumb2.td Tue Nov 3 18:03:09 2009
@@ -1082,7 +1082,7 @@
AddrModeNone, SizeSpecial, NoItinerary,
"str.w\tsp, [$src, #+8] @ eh_setjmp begin\n"
"\tadr\tr12, 0f\n"
- "\torr\tr12, #1\n"
+ "\torr.w\tr12, r12, #1\n"
"\tstr.w\tr12, [$src, #+4]\n"
"\tmovs\tr0, #0\n"
"\tb\t1f\n"
More information about the llvm-branch-commits
mailing list