llvm-project/llvm/lib/Transforms
Fangrui Song 129f466e22 [GlobalOpt] Remove heap SROA
GlobalOpt implements a heap SROA (SROA for an malloc allocatated struct or array
of structs) which is largely undertested (heap-sra-[1234].ll are basically the
same test with very little difference) and does not trigger at all when
bootstrapping clang (it only supports the case of one single store).

The heap SROA implementation causes PR50027 (GEP is not properly handled; crash or miscompile).
Just drop the implementation. I have deleted some obviously duplicated tests
but kept `heap-sra-[12]{,-no-nullopt}.ll`.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D102257
2021-05-11 11:34:37 -07:00
..
AggressiveInstCombine [Transforms] Use llvm::append_range (NFC) 2021-01-20 21:35:54 -08:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [Coroutines] Do not add alloca to the frame if the size is 0 2021-05-04 12:55:40 -07:00
Hello
IPO [GlobalOpt] Remove heap SROA 2021-05-11 11:34:37 -07:00
InstCombine [InstCombine] fold extract subvector of bitcast insertelt 2021-05-10 17:20:10 -04:00
Instrumentation Internalize some cl::opt global variables or move them under namespace llvm 2021-05-07 11:15:43 -07:00
ObjCARC [NFC][AA] Prepare to convert AliasResult to class with PartialAlias offset. 2021-04-09 12:54:22 +03:00
Scalar [LoopInterchange] Fix legality for triangular loops 2021-05-11 11:00:46 -04:00
Utils [Inliner] Fix noalias metadata handling for instructions simplified during cloning (PR50270) 2021-05-10 21:59:59 +02:00
Vectorize [VPlan] Register recipe for instr if the simplified value is recipe. 2021-05-11 14:32:34 +01:00
CMakeLists.txt [NewPM][HelloWorld] Move HelloWorld to Utils 2021-02-03 12:59:40 -08:00