[PATCH] D24635: AMDGPU: Push bitcasts through build_vector

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 15 15:08:03 PDT 2016


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

This reduces the number of copies and reg_sequences
when using fp constant vectors. This significantly
reduces the code size in local-stack-alloc-bug.ll

https://reviews.llvm.org/D24635

Files:
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  test/CodeGen/AMDGPU/bitcast-vector-extract.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24635.71566.patch
Type: text/x-patch
Size: 4731 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160915/13e8846c/attachment.bin>


More information about the llvm-commits mailing list