1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/lib/Transforms/Utils
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
..
AddDiscriminators.cpp
AMDGPUEmitPrintf.cpp
ASanStackFrameLayout.cpp
AssumeBundleBuilder.cpp
BasicBlockUtils.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
BreakCriticalEdges.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
BuildLibCalls.cpp Make inferLibFuncAttributes() add SExt attribute on second arg to ldexp. 2020-11-10 18:32:15 +01:00
BypassSlowDivision.cpp
CallGraphUpdater.cpp
CallPromotionUtils.cpp
CanonicalizeAliases.cpp
CanonicalizeFreezeInLoops.cpp
CloneFunction.cpp [Transforms] Use pred_empty (NFC) 2020-11-16 22:09:14 -08:00
CloneModule.cpp
CMakeLists.txt Revert "clang-misexpect: Profile Guided Validation of Performance Annotations in LLVM" 2020-11-14 13:12:38 +03:00
CodeExtractor.cpp Revert "[IR] add fn attr for no_stack_protector; prevent inlining on mismatch" 2020-11-17 17:27:14 -08:00
CodeMoverUtils.cpp
CtorUtils.cpp
Debugify.cpp [Debugify] Skip debugifying on special/immutable passes 2020-11-16 20:39:46 -08:00
DemoteRegToStack.cpp
EntryExitInstrumenter.cpp [musttail] Unify musttail call preceding return checking 2020-11-03 11:39:27 -08:00
EscapeEnumerator.cpp [musttail] Unify musttail call preceding return checking 2020-11-03 11:39:27 -08:00
Evaluator.cpp Fix for Bug 48055. 2020-12-04 11:05:01 -08:00
FixIrreducible.cpp
FlattenCFG.cpp
FunctionComparator.cpp Fix use-of-uninitialized-value in rG75f50e15bf8f 2020-11-26 01:39:22 -07:00
FunctionImportUtils.cpp
GlobalStatus.cpp
GuardUtils.cpp
ImportedFunctionsInliningStatistics.cpp
InjectTLIMappings.cpp [NFC] Reduce include files dependency. 2020-12-03 18:25:05 +03:00
InlineFunction.cpp [Inline] Fix incorrectly dropped noalias metadata 2020-11-18 21:22:50 +01:00
InstructionNamer.cpp
IntegerDivision.cpp
LCSSA.cpp [LCSSA] Doc for special treatment of PHIs 2020-10-29 22:50:07 +02:00
LibCallsShrinkWrap.cpp
Local.cpp [Transforms] Use llvm::is_contained (NFC) 2020-11-18 20:42:22 -08:00
LoopPeel.cpp [NFC][SCEV] Refactor monotonic predicate checks to return enums instead of bools 2020-10-29 16:01:25 +07:00
LoopRotationUtils.cpp [Utils] Skip RemoveRedundantDbgInstrs in MergeBlockIntoPredecessor (PR47746) 2020-10-27 10:12:59 -07:00
LoopSimplify.cpp [Transforms] Use pred_empty (NFC) 2020-11-16 22:09:14 -08:00
LoopUnroll.cpp
LoopUnrollAndJam.cpp
LoopUnrollRuntime.cpp
LoopUtils.cpp [SVE] Add support for scalable vectors with vectorize.scalable.enable loop attribute 2020-12-02 13:23:43 +00:00
LoopVersioning.cpp
LowerInvoke.cpp
LowerMemIntrinsics.cpp
LowerSwitch.cpp [Transforms] Use pred_empty (NFC) 2020-11-16 22:09:14 -08:00
MatrixUtils.cpp
Mem2Reg.cpp
MetaRenamer.cpp
ModuleUtils.cpp
NameAnonGlobals.cpp
PredicateInfo.cpp
PromoteMemoryToRegister.cpp [Mem2Reg] Use llvm::count instead of std::count (NFC) 2020-11-07 20:18:47 -08:00
SanitizerStats.cpp
ScalarEvolutionExpander.cpp [SCEV] Use isa<> pattern for testing for CouldNotCompute [NFC] 2020-11-24 18:47:49 -08:00
SimplifyCFG.cpp [SimplifyCFG] FoldBranchToCommonDest: don't require that cmp of br is last instruction 2020-12-01 15:13:06 +03:00
SimplifyIndVar.cpp Return "[IndVars] ICmpInst should not prevent IV widening" 2020-12-04 12:34:43 +07:00
SimplifyLibCalls.cpp
SizeOpts.cpp
SplitModule.cpp
SSAUpdater.cpp
SSAUpdaterBulk.cpp
StripGCRelocates.cpp
StripNonLineTableDebugInfo.cpp
SymbolRewriter.cpp
UnifyFunctionExitNodes.cpp
UnifyLoopExits.cpp
UniqueInternalLinkageNames.cpp
Utils.cpp
ValueMapper.cpp [Transforms] Delete unused declarations from NewGVN/CoroSplit/ValueMapper 2020-12-06 13:04:01 -08:00
VNCoercion.cpp [VNCoercion] Disallow coercion between different ni addrspaces 2020-12-07 20:19:48 -05:00