mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
6b31c219ab
Summary: TargetBaseAlign is no longer required since LSV checks if target allows misaligned accesses. A constant defining a base alignment is still needed for stack accesses where alignment can be adjusted. Previous patch (D22936) was reverted because tests were failing. This patch also fixes the cause of those failures: - x86 failing tests either did not have the right target, or the right alignment. - NVPTX failing tests did not have the right alignment. - AMDGPU failing test (merge-stores) should allow vectorization with the given alignment but the target info considers <3xi32> a non-standard type and gives up early. This patch removes the condition and only checks for a maximum size allowed and relies on the next condition checking for %4 for correctness. This should be revisited to include 3xi32 as a MVT type (on arsenm's non-immediate todo list). Note that checking the sizeInBits for a MVT is undefined (leads to an assertion failure), so we need to create an EVT, hence the interface change in allowsMisaligned to include the Context. Reviewers: arsenm, jlebar, tstellarAMD Subscribers: jholewinski, arsenm, mzolotukhin, llvm-commits Differential Revision: https://reviews.llvm.org/D23068 llvm-svn: 277735 |
||
---|---|---|
.. | ||
AliasAnalysis.h | ||
AliasAnalysisEvaluator.h | ||
AliasSetTracker.h | ||
AssumptionCache.h | ||
BasicAliasAnalysis.h | ||
BlockFrequencyInfo.h | ||
BlockFrequencyInfoImpl.h | ||
BranchProbabilityInfo.h | ||
CallGraph.h | ||
CallGraphSCCPass.h | ||
CallPrinter.h | ||
CaptureTracking.h | ||
CFG.h | ||
CFGPrinter.h | ||
CFLAndersAliasAnalysis.h | ||
CFLSteensAliasAnalysis.h | ||
CGSCCPassManager.h | ||
CodeMetrics.h | ||
ConstantFolding.h | ||
DemandedBits.h | ||
DependenceAnalysis.h | ||
DivergenceAnalysis.h | ||
DominanceFrontier.h | ||
DominanceFrontierImpl.h | ||
DomPrinter.h | ||
DOTGraphTraitsPass.h | ||
EHPersonalities.h | ||
GlobalsModRef.h | ||
IndirectCallPromotionAnalysis.h | ||
IndirectCallSiteVisitor.h | ||
InlineCost.h | ||
InstructionSimplify.h | ||
Interval.h | ||
IntervalIterator.h | ||
IntervalPartition.h | ||
IteratedDominanceFrontier.h | ||
IVUsers.h | ||
LazyBlockFrequencyInfo.h | ||
LazyBranchProbabilityInfo.h | ||
LazyCallGraph.h | ||
LazyValueInfo.h | ||
Lint.h | ||
Loads.h | ||
LoopAccessAnalysis.h | ||
LoopInfo.h | ||
LoopInfoImpl.h | ||
LoopIterator.h | ||
LoopPass.h | ||
LoopPassManager.h | ||
LoopUnrollAnalyzer.h | ||
MemoryBuiltins.h | ||
MemoryDependenceAnalysis.h | ||
MemoryLocation.h | ||
ModuleSummaryAnalysis.h | ||
ObjCARCAliasAnalysis.h | ||
ObjCARCAnalysisUtils.h | ||
ObjCARCInstKind.h | ||
OptimizationDiagnosticInfo.h | ||
OrderedBasicBlock.h | ||
Passes.h | ||
PHITransAddr.h | ||
PostDominators.h | ||
ProfileSummaryInfo.h | ||
PtrUseVisitor.h | ||
RegionInfo.h | ||
RegionInfoImpl.h | ||
RegionIterator.h | ||
RegionPass.h | ||
RegionPrinter.h | ||
ScalarEvolution.h | ||
ScalarEvolutionAliasAnalysis.h | ||
ScalarEvolutionExpander.h | ||
ScalarEvolutionExpressions.h | ||
ScalarEvolutionNormalization.h | ||
ScopedNoAliasAA.h | ||
SparsePropagation.h | ||
TargetFolder.h | ||
TargetLibraryInfo.def | ||
TargetLibraryInfo.h | ||
TargetTransformInfo.h | ||
TargetTransformInfoImpl.h | ||
Trace.h | ||
TypeBasedAliasAnalysis.h | ||
TypeMetadataUtils.h | ||
ValueTracking.h | ||
VectorUtils.h |