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 |
||
|---|---|---|
| .. | ||
| aapcs.ll | ||
| alloca-no-stack-arg-probe.ll | ||
| alloca.ll | ||
| builtin_longjmp.ll | ||
| chkstk-movw-movt-isel.ll | ||
| chkstk-no-stack-arg-probe.ll | ||
| chkstk.ll | ||
| dbzchk.ll | ||
| division-range.ll | ||
| division.ll | ||
| dllexport.ll | ||
| dllimport.ll | ||
| frame-register.ll | ||
| global-minsize.ll | ||
| hard-float.ll | ||
| if-cvt-bundle.ll | ||
| libcalls.ll | ||
| long-calls.ll | ||
| mangling.ll | ||
| memset.ll | ||
| mingw-refptr.ll | ||
| mov32t-bundling.ll | ||
| movw-movt-relocations.ll | ||
| no-aeabi.ll | ||
| no-eabi.ll | ||
| no-ehabi.ll | ||
| no-frame-register.ll | ||
| pic.ll | ||
| powi.ll | ||
| read-only-data.ll | ||
| stack-probe-non-default.ll | ||
| structors.ll | ||
| tls.ll | ||
| trivial-gnu-object.ll | ||
| vla-cpsr.ll | ||
| vla.ll | ||
| wineh-basic.ll | ||