[PATCH] D24420: AMDGPU: Use brev for materializing SGPR constants

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 12:50:11 PDT 2016


arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, wdng, arsenm.

This is already done with VGPR immediates and saves 4 bytes.

https://reviews.llvm.org/D24420

Files:
  lib/Target/AMDGPU/SIShrinkInstructions.cpp
  test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll
  test/CodeGen/AMDGPU/fcopysign.f32.ll
  test/CodeGen/AMDGPU/fcopysign.f64.ll
  test/CodeGen/AMDGPU/llvm.round.f64.ll
  test/CodeGen/AMDGPU/llvm.round.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24420.70886.patch
Type: text/x-patch
Size: 8469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160909/e99123f6/attachment.bin>


More information about the llvm-commits mailing list