aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-22 16:28:41 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-05-22 16:28:41 +0000
commitca64ef20434c0cb6912e795c85567d5b00ad9b0d (patch)
tree253c385f1311dfc20b539ed68633b3c3959fad04 /llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
parentc2187c20a461c19ff50dc358b932c44f2ef5d6c6 (diff)
downloadllvm-ca64ef20434c0cb6912e795c85567d5b00ad9b0d.zip
llvm-ca64ef20434c0cb6912e795c85567d5b00ad9b0d.tar.gz
llvm-ca64ef20434c0cb6912e795c85567d5b00ad9b0d.tar.bz2
MC: Allow getMaxInstLength to depend on the subtarget
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
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp')
0 files changed, 0 insertions, 0 deletions