Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MC: Allow getMaxInstLength to depend on the subtarget | Matt Arsenault | 2019-05-22 | 1 | -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 |