[PATCH] D22108: AMDGPU: Only use legal inline immediates with kill pseudo

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 12:01:01 PDT 2016


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

Only if the value is negative or positive is what matters,
so use a constant that doesn't require an instruction to
materialize.

http://reviews.llvm.org/D22108

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  lib/Target/AMDGPU/AMDGPUInstrInfo.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstructions.td
  test/CodeGen/AMDGPU/skip-if-dead.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22108.63112.patch
Type: text/x-patch
Size: 3867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160707/e191b521/attachment-0001.bin>


More information about the llvm-commits mailing list