1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm
Leo Li 9f55e00ae0 [ConstantHoisting] Avoid hoisting constants in GEPs that index into a struct type.
Summary:
Indices for GEPs that index into a struct type should always be
constants. This added more checks in `collectConstantCandidates:` which make
sure constants for GEP pointer type are not hoisted.

This fixed Bug https://bugs.llvm.org/show_bug.cgi?id=33538

Reviewers: ributzka, rnk

Reviewed By: ributzka

Subscribers: efriedma, llvm-commits, srhines, javed.absar, pirama

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

llvm-svn: 306704
2017-06-29 17:03:34 +00:00
..
ADT Add support for Ananas platform 2017-06-25 08:19:37 +00:00
Analysis ScalarEvolution: Add URem support 2017-06-29 16:29:04 +00:00
AsmParser
BinaryFormat Revert "Replace trivial use of external rc.exe by writing our own .res file." 2017-06-29 00:17:26 +00:00
Bitcode Object: Teach irsymtab::read() to try to use the irsymtab that we wrote to disk. 2017-06-27 23:50:24 +00:00
CodeGen [DAG] Fold FrameIndex offset into BaseIndexOffset analysis. NFCI. 2017-06-29 15:48:11 +00:00
Config
DebugInfo [DWARF] NFC: DWARFDataExtractor combines relocs with DataExtractor. 2017-06-29 16:52:08 +00:00
Demangle
ExecutionEngine Add missing include. Should fix modules libstdc++ builds. 2017-06-27 11:45:26 +00:00
IR [InstCombine] Remove 64-bit bit width restriction from m_ConstantInt(uint64_t*&) 2017-06-28 18:07:29 +00:00
IRReader
LineEditor
Linker
LTO Add a ThinLTO cache policy for controlling the maximum cache size in bytes. 2017-06-23 17:05:03 +00:00
MC Add missing forward declaration. 2017-06-26 21:11:29 +00:00
Object Revert "Replace trivial use of external rc.exe by writing our own .res file." 2017-06-29 00:17:26 +00:00
ObjectYAML [WebAssembly] Add data size and alignement to linking section 2017-06-27 20:27:59 +00:00
Option [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
Passes
ProfileData llvm-profdata: Indirect infrequently used fields to reduce memory usage 2017-06-29 02:51:58 +00:00
Support Recommit "[Support] Add RetryAfterSignal helper function" 2017-06-29 13:15:31 +00:00
TableGen Fix Wdocumentation warning 2017-06-20 12:28:33 +00:00
Target Revert "r306529 - [X86] Correct dwarf unwind information in function epilogue" 2017-06-29 13:58:24 +00:00
Testing/Support [Testing/Support] Remove the const_cast in TakeExpected 2017-06-22 13:11:50 +00:00
ToolDrivers/llvm-lib
Transforms [ConstantHoisting] Avoid hoisting constants in GEPs that index into a struct type. 2017-06-29 17:03:34 +00:00
XRay
CMakeLists.txt
InitializePasses.h Revert "r306529 - [X86] Correct dwarf unwind information in function epilogue" 2017-06-29 13:58:24 +00:00
LinkAllIR.h
LinkAllPasses.h
module.modulemap Fix modular build 2017-06-22 21:28:48 +00:00
module.modulemap.build
Pass.h
PassAnalysisSupport.h
PassInfo.h
PassRegistry.h
PassSupport.h