aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMirko Brkusanin <Mirko.Brkusanin@amd.com>2022-08-04 19:24:31 +0200
committerMirko Brkusanin <Mirko.Brkusanin@amd.com>2022-08-05 15:30:47 +0200
commit19bb535ed99407c95863807a01bc11e205842070 (patch)
tree6f11b346c02f009c82507e1951ebb11b6ed3bced /flang/lib/Frontend/CompilerInvocation.cpp
parent4bc9e603065b59976f3a16b7ecc6b5fb109f5f2d (diff)
downloadllvm-19bb535ed99407c95863807a01bc11e205842070.zip
llvm-19bb535ed99407c95863807a01bc11e205842070.tar.gz
llvm-19bb535ed99407c95863807a01bc11e205842070.tar.bz2
[AMDGPU] Remove unused MIMG tablegen variants
There are no AMDGPUSampleVariant versions for _G16, it is treated more like a modifier for derivatives (_D) (also for intrinsics where it is overloaded type instead of part of instrinsic name) so we ended up making more variants for these instruction then we actually needed. 32-bit derivatives need 6 dwords at most, while 16-bit need 4 at most. Using same AMDGPUSampleVariant for both, we ended up creating 2 extra variants per instruction than were necessary. In total this deletes 260 unused tablegen records. Differential Revision: https://reviews.llvm.org/D131252
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions