1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/include/llvm
Sanjoy Das 7efa583304 NFC; refactor getFrameIndexReferenceFromSP
Summary:
... into getFrameIndexReferencePreferSP.  This change folds the
fail-then-retry logic into getFrameIndexReferencePreferSP.

There is a non-functional but behaviorial change in WinException --
earlier if `getFrameIndexReferenceFromSP` failed we'd trip an assert,
but now we'll silently use the (wrong) offset from the base pointer.  I
could not write the assert I'd like to write ("FrameReg ==
StackRegister", like I've done in X86FrameLowering) since there is no
easy way to get to the stack register from WinException (happy to be
proven wrong here).  One solution to this is to add a `bool
OnlyStackPointer` parameter to `getFrameIndexReferenceFromSP` that
asserts if it could not satisfy its promise of returning an offset from
a stack pointer, but that seems overkill.

Reviewers: rnk

Subscribers: sanjoy, mcrosier, llvm-commits

Differential Revision: http://reviews.llvm.org/D21427

llvm-svn: 272938
2016-06-16 18:54:06 +00:00
..
ADT Statistic: Add machine parseable json output 2016-06-15 20:19:16 +00:00
Analysis Revert r272891 "[JumpThreading] Prevent dangling pointer problems in BranchProbabilityInfo" 2016-06-16 16:25:53 +00:00
AsmParser
Bitcode [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
CodeGen Revert "Preserve DebugInfo when replacing values in DAGCombiner" 2016-06-15 16:08:50 +00:00
Config Add the printing the Mach-O (__LLVM,__bundle) xar archive file section "verbosely" 2016-05-23 21:34:12 +00:00
DebugInfo Resubmit "[pdb] Change type visitor pattern to be dynamic." 2016-06-16 18:22:27 +00:00
ExecutionEngine Apply most suggestions of clang-tidy's performance-unnecessary-value-param 2016-06-08 19:09:22 +00:00
IR [x86] autoupgrade and remove AVX2 integer min/max intrinsics 2016-06-16 18:44:20 +00:00
IRReader [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LibDriver [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LineEditor Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
Linker Linker: teach the IR mover to return llvm::Error. 2016-05-27 05:21:35 +00:00
LTO Move instances of std::function. 2016-06-12 16:13:55 +00:00
MC Add a using declaration so that the overrides don't hide some of the 2016-06-11 08:12:17 +00:00
Object [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
ObjectYAML [obj2yaml] [yaml2obj] Support for MachO nlist and string table 2016-06-02 22:54:06 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [PM] Refactor cross-registration of AM into an helper. 2016-05-14 23:21:50 +00:00
ProfileData Untabify. 2016-06-13 00:18:19 +00:00
Support [llvm-objdump] Support detection of feature bits from the object and implement this for Mips. 2016-06-16 09:17:03 +00:00
TableGen
Target NFC; refactor getFrameIndexReferenceFromSP 2016-06-16 18:54:06 +00:00
Transforms [PM] Revert the port of MergeLoadStoreMotion to the new pass manager. 2016-06-16 17:40:53 +00:00
CMakeLists.txt
InitializePasses.h [PM] Revert the port of MergeLoadStoreMotion to the new pass manager. 2016-06-16 17:40:53 +00:00
LinkAllIR.h Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
LinkAllPasses.h Remove the ScalarReplAggregates pass 2016-06-15 00:19:09 +00:00
module.modulemap [modules] Combine Pass.h, PassSupport.h and PassAnalysisSupport.h into one module. 2016-06-16 08:00:29 +00:00
module.modulemap.build
Pass.h Remove unused header. 2016-05-25 22:56:58 +00:00
PassAnalysisSupport.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassInfo.h
PassRegistry.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
PassSupport.h [LPM] Reinstate r271781 which reinstated r271652 to replace the 2016-06-04 19:57:55 +00:00