1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/lib/Transforms
Valentin Churavy fa8ef60bf6 [VNCoercion] Disallow coercion between different ni addrspaces
I'm not sure if it would be legal by the IR reference to introduce
an addrspacecast here, since the IR reference is a bit vague on
the exact semantics, but at least for our usage of it (and I
suspect for many other's usage) it is not. For us, addrspacecasts
between non-integral address spaces carry frontend information that the
optimizer cannot deduce afterwards in a generic way (though we
have frontend specific passes in our pipline that do propagate
these). In any case, I'm sure nobody is using it this way at
the moment, since it would have introduced inttoptrs, which
are definitely illegal.

Fixes PR38375

Co-authored-by: Keno Fischer <keno@alumni.harvard.edu>

Reviewed By: reames

Differential Revision: https://reviews.llvm.org/D50010
2020-12-07 20:19:48 -05:00
..
AggressiveInstCombine llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
CFGuard llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
Coroutines [Coroutines] Add DW_OP_deref for transformed dbg.value intrinsic. 2020-12-07 10:24:44 +08:00
Hello
HelloNew llvmbuildectomy - replace llvm-build by plain cmake 2020-11-13 10:35:24 +01:00
InstCombine [InstCombine] Remove replacePointer (NFC) 2020-12-06 10:24:08 -08:00
Instrumentation [MemProf] Make __memprof_shadow_memory_dynamic_address dso_local in static relocation model 2020-12-05 21:36:31 -08:00
IPO [ConstraintElimination] Tweak placement in pipeline. 2020-12-07 19:08:40 +00:00
ObjCARC [NFC] Reduce include files dependency. 2020-12-03 18:25:05 +03:00
Scalar [LoopIdiomRecognize] Merge a conditional operator with an earlier if and remove an extra temporary variable. NFC 2020-12-06 15:23:18 -08:00
Utils [VNCoercion] Disallow coercion between different ni addrspaces 2020-12-07 20:19:48 -05:00
Vectorize [SLP] fix typo in debug string; NFC 2020-12-07 15:09:21 -05:00
CMakeLists.txt Reland [docs][NewPM] Add docs for writing NPM passes 2020-09-14 16:06:19 -07:00