[PATCH] D114644: [AMDGPU] Aggressively fold immediates in SIShrinkInstructions

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 26 08:05:59 PST 2021


foad added a comment.

Some data on the comined effect of D114643 <https://reviews.llvm.org/D114643> + D114644 <https://reviews.llvm.org/D114644>, from statically compiling a corpus of 10320 graphics shaders for gfx1010:

- Total number of instructions decreased from 6071567 to 5999110 (-1.2%)
- Total number of code bytes increased from 35932468 to 36174540 (+0.67%)
- Total number of vgprs used decreased from 517395 to 517238 (-0.030%)
- Total number of sgprs used decreased from 811411 to 805549 (-0.73%)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114644/new/

https://reviews.llvm.org/D114644



More information about the llvm-commits mailing list