llvm-capstone/llvm/test/CodeGen/MSP430
Francis Visoiu Mistrih b7cef81fd3 Replace "no-frame-pointer-*" function attributes with "frame-pointer"
Part of the effort to refactoring frame pointer code generation. We used
to use two function attributes "no-frame-pointer-elim" and
"no-frame-pointer-elim-non-leaf" to represent three kinds of frame
pointer usage: (all) frames use frame pointer, (non-leaf) frames use
frame pointer, (none) frame use frame pointer. This CL makes the idea
explicit by using only one enum function attribute "frame-pointer"

Option "-frame-pointer=" replaces "-disable-fp-elim" for tools such as
llc.

"no-frame-pointer-elim" and "no-frame-pointer-elim-non-leaf" are still
supported for easy migration to "frame-pointer".

tests are mostly updated with

// replace command line args ‘-disable-fp-elim=false’ with ‘-frame-pointer=none’
grep -iIrnl '\-disable-fp-elim=false' * | xargs sed -i '' -e "s/-disable-fp-elim=false/-frame-pointer=none/g"

// replace command line args ‘-disable-fp-elim’ with ‘-frame-pointer=all’
grep -iIrnl '\-disable-fp-elim' * | xargs sed -i '' -e "s/-disable-fp-elim/-frame-pointer=all/g"

Patch by Yuanfang Chen (tabloid.adroit)!

Differential Revision: https://reviews.llvm.org/D56351

llvm-svn: 351049
2019-01-14 10:55:55 +00:00
..
2009-05-10-CyclicDAG.ll
2009-05-17-Rot.ll
2009-05-17-Shift.ll
2009-05-19-DoubleSplit.ll
2009-08-25-DynamicStackAlloc.ll
2009-09-18-AbsoluteAddr.ll
2009-10-10-OrImpDef.ll
2009-11-08-InvalidResNo.ll
2009-11-20-NewNode.ll
2009-12-21-FrameAddr.ll
2009-12-22-InlineAsm.ll
2010-05-01-CombinerAnd.ll
AddrMode-bis-rx.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
AddrMode-bis-xr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
AddrMode-mov-rx.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
AddrMode-mov-xr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
asm-clobbers.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
bit.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
BranchSelector.ll
byval.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
callee-saved.ll [MSP430] Add more tests for ABI and calling convention 2018-11-16 09:47:58 +00:00
calls.ll [MSP430] Add more tests for ABI and calling convention 2018-11-16 09:47:58 +00:00
cc_args.ll [MSP430] Add more tests for ABI and calling convention 2018-11-16 09:47:58 +00:00
cc_ret.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
DbgValueOtherTargets.test
flt_rounds.ll
fp.ll Replace "no-frame-pointer-*" function attributes with "frame-pointer" 2019-01-14 10:55:55 +00:00
hwmult16.ll
hwmult32.ll
hwmultf5.ll
indirectbr2.ll
indirectbr.ll
inline-asm.ll
Inst8mi.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst8mm.ll [MSP430] Add missing instruction forms 2019-01-10 22:54:53 +00:00
Inst8mr.ll
Inst8ri.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst8rm.ll
Inst8rr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst16mi.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst16mm.ll [MSP430] Add missing instruction forms 2019-01-10 22:54:53 +00:00
Inst16mr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst16ri.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst16rm.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
Inst16rr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
InstII.ll [MSP430] Add missing instruction forms 2019-01-10 22:54:53 +00:00
interrupt.ll [MSP430] Add more tests for ABI and calling convention 2018-11-16 09:47:58 +00:00
jumptable.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
libcalls.ll [MSP430] Add RTLIB::[SRL/SRA/SHL]_I32 lowering to EABI lib calls 2018-11-16 19:36:15 +00:00
lit.local.cfg
memset.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
misched-msp430.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
mult-alt-generic-msp430.ll
postinc.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
promote-i8-mul.ll
select-use-sr.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
setcc.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
shifts.ll [MSP430] Optimize 'shl x, 8[+ N] -> swpb(zext(x)) [<< N]' for i16 2019-01-09 13:03:01 +00:00
spill-to-stack.ll
stacksave_restore.ll [MSP430] Fix crash while lowering llvm.stacksave/stackrestore 2019-01-09 12:52:15 +00:00
struct_layout.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
struct-return.ll [MSP430] Add more tests for ABI and calling convention 2018-11-16 09:47:58 +00:00
transient-stack-alignment.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00
umulo-16.ll
vararg.ll [MSP430] Add MC layer 2018-11-15 12:29:43 +00:00