[PATCH] D24672: AMDGPU/SI: Eliminate more instructions that truncate inputs to 24-bit ops

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 08:35:06 PDT 2016


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

This wasn't working in the case where the truncate operation (e.g. and x,
0xffffff) had more than one use.

https://reviews.llvm.org/D24672

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/AMDGPUISelLowering.h
  test/CodeGen/AMDGPU/mad_uint24.ll
  test/CodeGen/AMDGPU/mul_uint24.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24672.71656.patch
Type: text/x-patch
Size: 5727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160916/efcab556/attachment.bin>


More information about the llvm-commits mailing list