1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/Transforms
Matt Arsenault ddf10ac5a7 AMDGPU: Remove dx10-clamp from subtarget features
Since this can be set with s_setreg*, it should not be a subtarget
property. Set a default based on the calling convention, and Introduce
a new amdgpu-dx10-clamp attribute to override this if desired.

Also introduce a new amdgpu-ieee attribute to match.

The values need to match to allow inlining. I think it is OK for the
caller's dx10-clamp attribute to override the callee, but there
doesn't appear to be the infrastructure to do this currently without
definining the attribute in the generic Attributes.td.

Eventually the calling convention lowering will need to insert a mode
switch somewhere for these.

llvm-svn: 357302
2019-03-29 19:14:54 +00:00
..
ADCE Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
AddDiscriminators treat invoke like call 2019-01-15 21:26:51 +00:00
AggressiveInstCombine [AggressiveInstCombine] convert rotate with guard branch into funnel shift (PR34924) 2018-12-17 21:14:51 +00:00
AlignmentFromAssumptions
ArgumentPromotion [NewPM] Fix a nasty bug with analysis invalidation in the new PM. 2019-03-28 00:51:36 +00:00
AtomicExpand [AtomicExpand] Allow libcall expansion for non-zero address spaces (try 2) 2019-03-06 19:27:13 +00:00
BDCE [BDCE] Remove dead uses of arguments 2019-01-04 21:21:43 +00:00
BlockExtractor
BranchFolding
CalledValuePropagation
CallSiteSplitting [CallSiteSplitting] Report edge deletion to DomTreeUpdater 2018-11-29 15:27:04 +00:00
CanonicalizeAliases [ThinLTO] Handle chains of aliases 2019-01-04 19:04:54 +00:00
CodeExtractor [CodeExtractor] Do not lift lifetime.end markers for region inputs 2019-02-15 18:46:58 +00:00
CodeGenPrepare [CodeGenPrepare] limit formation of overflow intrinsics (PR41129) 2019-03-21 13:57:07 +00:00
ConstantHoisting [ConstantHoisting] avoid hang/crash from unreachable blocks (PR40930) 2019-03-04 20:57:14 +00:00
ConstantMerge
ConstProp [ConstantFolding] Fix GetConstantFoldFPValue to avoid cast overflow. 2019-03-22 16:37:37 +00:00
Coroutines [coroutines][PR40979] Ignore unreachable uses across suspend points 2019-03-11 18:31:28 +00:00
CorrelatedValuePropagation [CVP] Use LVI to constant fold deopt operands 2019-01-22 01:34:33 +00:00
CrossDSOCFI
DCE
DeadArgElim [IPO][AVR] Create new Functions in the default address space specified in the data layout 2018-12-18 09:52:52 +00:00
DeadStoreElimination [X86] Remove IntrArgMemOnly from target specific gather/scatter intrinsics 2019-03-01 21:02:40 +00:00
DivRemPairs
EarlyCSE AMDGPU: Remove IntrReadMem from memtime/memrealtime intrinsics 2019-02-25 20:16:11 +00:00
EliminateAvailableExternally
EntryExitInstrumenter
ExpandMemCmp/X86 Re-land r349731 "[CodeGen][ExpandMemcmp] Add an option for allowing overlapping loads. 2018-12-20 13:01:04 +00:00
Float2Int
ForcedFunctionAttrs
FunctionAttrs
FunctionImport Recommit "[ThinLTO] Rename COMDATs for COFF when promoting/renaming COMDAT leader" 2019-01-31 17:18:11 +00:00
GCOVProfiling [DebugInfo] IR/Bitcode changes for DISubprogram flags. 2018-11-28 21:14:32 +00:00
GlobalDCE GlobalDCE: Teach isEmptyFunction() to ignore debug intrinsics. 2018-11-16 17:47:21 +00:00
GlobalMerge
GlobalOpt [GlobalOpt] Simplify __cxa_atexit elimination 2019-02-09 09:18:37 +00:00
GlobalSplit
GuardWidening [GuardWidening] Support widening of explicitly expressed guards 2019-02-13 09:56:30 +00:00
GVN [GVN] Small tweaks to comments, style, and missed vector handling 2019-02-20 00:31:28 +00:00
GVNHoist IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
GVNSink
HotColdSplit [HotColdSplit] Disable splitting for sanitized functions 2019-02-26 22:55:46 +00:00
IndirectBrExpand
IndVarSimplify [SCEV] Ensure that isHighCostExpansion takes into account what is being divided 2019-03-05 12:12:18 +00:00
InferAddressSpaces IR: Add immarg attribute 2019-03-12 21:02:54 +00:00
InferFunctionAttrs [SelectionDAG] Allow the user to specify a memeq function. 2019-03-08 09:07:45 +00:00
Inline AMDGPU: Remove dx10-clamp from subtarget features 2019-03-29 19:14:54 +00:00
InstCombine [InstCombine] autogenerate complete checks; NFC 2019-03-29 17:51:39 +00:00
InstMerge Tighten up tests that use -debugify as a shortcut. NFC 2019-03-14 23:09:17 +00:00
InstNamer
InstSimplify [InstSimplify] Add tests for signed icmp of and/or; NFC 2019-03-21 21:13:08 +00:00
InterleavedAccess [InterleavedAccessPass] Don't increase the number of bytes loaded. 2019-03-28 20:44:50 +00:00
Internalize
IPConstantProp [IPCP] Don't crash due to arg count/type mismatch between caller/callee 2019-01-29 10:19:44 +00:00
IRCE [IRCE] Support narrow latch condition for wide range checks 2019-01-23 07:20:56 +00:00
JumpThreading Tighten up tests that use -debugify as a shortcut. NFC 2019-03-14 23:09:17 +00:00
LCSSA [LCSSA] Handle case with single new PHI faster. 2019-02-02 15:26:05 +00:00
LICM [LICM & MemorySSA] Don't sink/hoist stores in the presence of ordered loads. 2019-03-20 18:33:37 +00:00
LoadStoreVectorizer Fix invalid target triples in tests. (NFC) 2019-03-04 23:37:41 +00:00
LoopDataPrefetch
LoopDeletion Fix RUN line in test/Transforms/LoopDeletion/crashbc.ll 2019-01-10 09:58:23 +00:00
LoopDistribute [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
LoopIdiom [LoopIdiomRecognize] @llvm.dbg values shouldn't affect the transformation. 2019-02-03 20:33:20 +00:00
LoopInstSimplify
LoopInterchange [LoopInterchange] Support reductions across inner and outer loop. 2018-11-08 20:44:19 +00:00
LoopLoadElim
LoopPredication [LoopPredication] Support guards expressed as branches by widenable condition 2019-01-22 11:49:06 +00:00
LoopReroll [LoopReroll] Fix reroll root legality checking. 2019-02-12 00:33:25 +00:00
LoopRotate [LoopRotate] fix crash encountered with callbr 2019-03-06 23:04:40 +00:00
LoopSimplify Revert r346810 "Preserve loop metadata when splitting exit blocks" 2018-11-14 01:47:32 +00:00
LoopSimplifyCFG [LoopSimplifyCFG] Update MemorySSA after r353911. 2019-02-21 19:54:05 +00:00
LoopStrengthReduce [LSR] Fix signed overflow in GenerateCrossUseConstantOffsets. 2019-03-28 22:17:29 +00:00
LoopTransformWarning [WarnMissedTransforms] Do not warn about already vectorized loops. 2019-02-04 19:55:59 +00:00
LoopUnroll [LoopUnrollPeel] Add case where we should forget the peeled loop from SCEV. 2019-02-14 13:59:39 +00:00
LoopUnrollAndJam [Unroll/UnrollAndJam/Vectorizer/Distribute] Add followup loop attributes. 2018-12-12 17:32:52 +00:00
LoopUnswitch
LoopVectorize [VPlan] Determine Vector Width programmatically. 2019-03-28 10:37:12 +00:00
LoopVersioning
LoopVersioningLICM
LowerAtomic
LowerExpectIntrinsic Remove immarg from llvm.expect 2019-03-17 23:16:18 +00:00
LowerGuardIntrinsic
LowerInvoke
LowerSwitch IR: Support parsing numeric block ids, and emit them in textual output. 2019-03-22 18:27:13 +00:00
LowerTypeTests
LowerWidenableCondition Default lowering for experimental.widenable.condition 2019-01-31 09:10:17 +00:00
MakeGuardsExplicit Introduce llvm.experimental.widenable_condition intrinsic 2018-12-07 14:39:46 +00:00
Mem2Reg [Mem2Reg] Fix nondeterministic corner case 2018-11-30 19:20:02 +00:00
MemCpyOpt [ValueTracking] Look through casts when determining non-nullness 2019-01-26 23:40:35 +00:00
MergeFunc Implementation of asm-goto support in LLVM 2019-02-08 20:48:56 +00:00
MergeICmps [MergeICmps] Do not perform the transformation if GEP is used outside of block 2018-11-05 18:16:32 +00:00
MetaRenamer
NameAnonGlobals
NaryReassociate
NewGVN [InstSimplify] SimplifyICmpInst - icmp eq/ne %X, undef -> undef 2019-03-19 14:08:23 +00:00
ObjCARC Don't add a tail keyword to calls to ObjC runtime functions if the calls 2019-03-21 20:16:09 +00:00
PartiallyInlineLibCalls
PGOProfile [PGO] Fix hexagon buildbot errors in r355541 2019-03-06 22:16:47 +00:00
PhaseOrdering [InstCombine] canonicalize raw IR rotate patterns to funnel shift 2019-01-01 21:51:39 +00:00
PlaceSafepoints
PreISelIntrinsicLowering Preserve the linkage for objc* intrinsics as clang will set them to weak_external in some cases 2018-12-18 22:42:08 +00:00
PruneEH [Transforms] Preserve metadata when converting invoke to call. 2018-12-14 18:15:11 +00:00
Reassociate Fix non-determinism in Reassociate caused by address coincidences 2019-03-22 20:16:35 +00:00
Reg2Mem
RewriteStatepointsForGC [RS4GC] Expand/standardize tests introduced in rL352059 2019-01-24 16:45:23 +00:00
SafeStack
SampleProfile Update entry count for cold calls 2019-01-24 00:55:23 +00:00
ScalarizeMaskedMemIntrin/X86 [ScalarizeMaskedMemIntrin] Add support for scalarizing expandload and compressstore intrinsics. 2019-03-21 17:38:52 +00:00
Scalarizer Introduce llvm.loop.parallel_accesses and llvm.access.group metadata. 2018-12-20 04:58:07 +00:00
SCCP [ConstantFold] Use getMinSignedBits for APInt in isIndexInRangeOfArrayType. 2018-12-12 18:55:14 +00:00
SeparateConstOffsetFromGEP
SimpleLoopUnswitch Update MemorySSA in SimpleLoopUnswitch. 2018-12-04 14:23:37 +00:00
SimplifyCFG Tighten up tests that use -debugify as a shortcut. NFC 2019-03-14 23:09:17 +00:00
Sink
SLPVectorizer [SLP] Add support for commutative icmp/fcmp predicates 2019-03-29 15:28:25 +00:00
SpeculateAroundPHIs
SpeculativeExecution
SROA Tighten up tests that use -debugify as a shortcut. NFC 2019-03-14 23:09:17 +00:00
StraightLineStrengthReduce
StripDeadPrototypes
StripSymbols
StructurizeCFG
SyntheticCountsPropagation
TailCallElim
ThinLTOBitcodeWriter [LTO] Record whether LTOUnit splitting is enabled in index 2019-01-11 18:31:57 +00:00
Util [LowerSwitch][AMDGPU] Do not handle impossible values 2019-02-22 14:33:46 +00:00
WholeProgramDevirt