mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-08 19:06:39 +00:00
d5e11ad51a
to be generic across architectures. It has the following description in the gnu sources: Substitute immediate value without immediate syntax Several Architectures such as x86 have local implementations of operand modifier 'c' which go beyond the above description slightly. To make use of the generic modifiers without overriding local implementation one can make a call to the base class method for AsmPrinter::PrintAsmOperand() in the locally derived method's "default" case in the switch statement. That way if it is already defined locally the generic version will never get called. This change is needed when test/CodeGen/generic/asm-large-immediate.ll failed on a native Mips board. The test was assuming a generic implementation was in place. Affected files: lib/Target/Mips/MipsAsmPrinter.cpp: Changed the default case to call the base method. lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp Added 'c' to the switch cases. test/CodeGen/Mips/asm-large-immediate.ll Mips compiled version of the generic one Contributer: Jack Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158925 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
2008-06-05-Carry.ll | ||
2008-07-03-SRet.ll | ||
2008-07-06-fadd64.ll | ||
2008-07-07-Float2Int.ll | ||
2008-07-07-FPExtend.ll | ||
2008-07-07-IntDoubleConvertions.ll | ||
2008-07-15-InternalConstant.ll | ||
2008-07-15-SmallSection.ll | ||
2008-07-16-SignExtInReg.ll | ||
2008-07-22-Cstpool.ll | ||
2008-07-23-fpcmp.ll | ||
2008-07-29-icmp.ll | ||
2008-07-31-fcopysign.ll | ||
2008-08-01-AsmInline.ll | ||
2008-08-03-fabs64.ll | ||
2008-08-03-ReturnDouble.ll | ||
2008-08-04-Bitconvert.ll | ||
2008-08-06-Alloca.ll | ||
2008-08-07-CC.ll | ||
2008-08-07-FPRound.ll | ||
2008-08-08-bswap.ll | ||
2008-08-08-ctlz.ll | ||
2008-10-13-LegalizerBug.ll | ||
2008-11-10-xint_to_fp.ll | ||
2009-11-16-CstPoolLoad.ll | ||
2010-04-07-DbgValueOtherTargets.ll | ||
2010-07-20-Switch.ll | ||
2010-11-09-CountLeading.ll | ||
2010-11-09-Mul.ll | ||
2011-05-26-BranchKillsVreg.ll | ||
addc.ll | ||
alloca.ll | ||
analyzebranch.ll | ||
asm-large-immediate.ll | ||
atomic.ll | ||
blockaddr.ll | ||
br-jmp.ll | ||
brdelayslot.ll | ||
bswap.ll | ||
buildpairextractelementf64.ll | ||
cmov.ll | ||
constantfp0.ll | ||
cprestore.ll | ||
divrem.ll | ||
double2int.ll | ||
eh.ll | ||
extins.ll | ||
fabs.ll | ||
fastcc.ll | ||
fcopysign-f32-f64.ll | ||
fcopysign.ll | ||
fmadd1.ll | ||
fneg.ll | ||
fp-indexed-ls.ll | ||
fp-spill-reload.ll | ||
fpbr.ll | ||
frame-address.ll | ||
frem.ll | ||
global-address.ll | ||
global-pointer-reg.ll | ||
gprestore.ll | ||
i64arg.ll | ||
imm.ll | ||
indirectcall.ll | ||
inlineasm64.ll | ||
inlineasm_constraint.ll | ||
inlineasm-cnstrnt-bad-I-1.ll | ||
inlineasm-cnstrnt-bad-J.ll | ||
inlineasm-cnstrnt-bad-K.ll | ||
inlineasm-cnstrnt-bad-L.ll | ||
inlineasm-cnstrnt-bad-N.ll | ||
inlineasm-cnstrnt-bad-O.ll | ||
inlineasm-cnstrnt-bad-P.ll | ||
inlineasm-cnstrnt-bad-r-1.ll | ||
inlineasm-cnstrnt-reg64.ll | ||
inlineasm-cnstrnt-reg.ll | ||
inlineasm-operand-code.ll | ||
inlineasmmemop.ll | ||
internalfunc.ll | ||
largeimm1.ll | ||
largeimmprinting.ll | ||
lit.local.cfg | ||
load-store-left-right.ll | ||
longbranch.ll | ||
machineverifier.ll | ||
madd-msub.ll | ||
memcpy.ll | ||
mips64-fp-indexed-ls.ll | ||
mips64countleading.ll | ||
mips64directive.ll | ||
mips64ext.ll | ||
mips64extins.ll | ||
mips64fpimm0.ll | ||
mips64fpldst.ll | ||
mips64imm.ll | ||
mips64instrs.ll | ||
mips64intldst.ll | ||
mips64lea.ll | ||
mips64load-store-left-right.ll | ||
mips64muldiv.ll | ||
mips64shift.ll | ||
mipslopat.ll | ||
null.ll | ||
o32_cc_byval.ll | ||
o32_cc_vararg.ll | ||
o32_cc.ll | ||
private.ll | ||
rotate.ll | ||
select.ll | ||
shift-parts.ll | ||
swzero.ll | ||
tls.ll | ||
unalignedload.ll | ||
weak.ll | ||
zeroreg.ll |