summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/branch-relaxation-inst-size-gfx10.ll
Commit message (Collapse)AuthorAgeFilesLines
* MC: Allow getMaxInstLength to depend on the subtargetMatt Arsenault2019-05-221-0/+33
Keep it optional in cases this is ever needed in some global context. Currently it's only used for getting an upper bound inline asm code size. For AMDGPU, gfx10 increases the maximum instruction size to 20-bytes. This avoids penalizing older subtargets when estimating code size, and making some annoying branch relaxation test adjustments. llvm-svn: 361405
OpenPOWER on IntegriCloud