[all-commits] [llvm/llvm-project] fe42eb: [AMDGPU][GlobalISel] Fix legalizing image intrinsi...
Mirko BrkuĊĦanin via All-commits
all-commits at lists.llvm.org
Wed Dec 7 09:30:13 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fe42ebe442bdf4842cdc66b2c69a8dfa78f5c75b
https://github.com/llvm/llvm-project/commit/fe42ebe442bdf4842cdc66b2c69a8dfa78f5c75b
Author: Mirko Brkusanin <Mirko.Brkusanin at amd.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
A llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-llvm.amdgcn.image.sample.d.ll
Log Message:
-----------
[AMDGPU][GlobalISel] Fix legalizing image intrinsics for new types
We no longer need to increase vector size to 16 for intrinsics that use more
than 8 vgprs for addr. There is no image intrinsic that needs more than 12
so all currently existing cases will be covered. Using incorrect size was
causing an error in instruction selection because instructions were updated
to require new types (9x32, 10x32, 11x32, 12x32).
Differential Revision: https://reviews.llvm.org/D139546
More information about the All-commits
mailing list