diff options
| author | David Stuttard <david.stuttard@amd.com> | 2018-11-19 15:44:20 +0000 |
|---|---|---|
| committer | David Stuttard <david.stuttard@amd.com> | 2018-11-19 15:44:20 +0000 |
| commit | be3d7ba9fb0902ad590301ebeff7fbf5587e6a63 (patch) | |
| tree | 7a53e883786299d0ad40def4aa05cf1a2c39218d /llvm/test/Transforms/LoopVectorize/pr31098.ll | |
| parent | 5e9215f02bc54f89148da065e40948fbd038a2c4 (diff) | |
| download | bcm5719-llvm-be3d7ba9fb0902ad590301ebeff7fbf5587e6a63.tar.gz bcm5719-llvm-be3d7ba9fb0902ad590301ebeff7fbf5587e6a63.zip | |
[AMDGPU] Derive GCNSubtarget from MF to get overridden target features
Summary:
AMDGPUAsmPrinter has a getSTI function that derives a GCNSubtarget from the
TM. However, this means that overridden target features are not detected and can
result in incorrect behaviour.
Switch to using STM which is a GCNSubtarget derived from the MF (used elsewhere
in the same function).
Change-Id: Ib6328ad667b7fcdc87e9c06344e59859207db9b0
Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, tpr, t-tye, llvm-commits
Differential Revision: https://reviews.llvm.org/D54301
llvm-svn: 347221
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize/pr31098.ll')
0 files changed, 0 insertions, 0 deletions

