[PATCH] D24253: [SelectionDAG] Add basic vector support to computeKnownBits and SimplifyDemandedBits
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 6 05:52:37 PDT 2016
RKSimon created this revision.
RKSimon added reviewers: bogner, arsenm, niravd, zvi, andreadb, spatel.
RKSimon added a subscriber: llvm-commits.
RKSimon set the repository for this revision to rL LLVM.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, wdng.
Add the ability to computeKnownBits and SimplifyDemandedBits to extract the known zero/one bits from a BUILD_VECTOR, returning the known bits that are shared by every vector element.
This is an initial step towards determining the sign bits of a vector (PR29079).
Repository:
rL LLVM
https://reviews.llvm.org/D24253
Files:
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp
test/CodeGen/AMDGPU/load-constant-i16.ll
test/CodeGen/AMDGPU/load-global-i16.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24253.70392.patch
Type: text/x-patch
Size: 6219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160906/e9896e43/attachment.bin>
More information about the llvm-commits
mailing list