[PATCH] D73069: AMDGPU: Look through casted selects to constant fold bin ops
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 16:46:02 PST 2020
arsenm created this revision.
arsenm added a reviewer: rampitec.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.
The promotion of the uniform select to i32 interfered with this fold.
https://reviews.llvm.org/D73069
Files:
llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fold-binop-select.ll
llvm/test/CodeGen/AMDGPU/dagcombine-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73069.239209.patch
Type: text/x-patch
Size: 6075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200121/956bb8c5/attachment.bin>
More information about the llvm-commits
mailing list