[PATCH] D19090: AMDGPU: Fold bitcasts of scalar constants to vectors

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 13 18:52:32 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.

This cleans up some messes since the individual scalar components can be CSEed.

http://reviews.llvm.org/D19090

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  test/CodeGen/AMDGPU/fceil64.ll
  test/CodeGen/AMDGPU/sdivrem64.ll
  test/CodeGen/AMDGPU/sint_to_fp.f64.ll
  test/CodeGen/AMDGPU/uint_to_fp.f64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19090.53650.patch
Type: text/x-patch
Size: 7318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160414/883876b0/attachment.bin>


More information about the llvm-commits mailing list