[PATCH] D86878: [AMDGPU] Fix a miscompile with S_ADD/S_SUB

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 07:07:38 PDT 2020


piotr updated this revision to Diff 298369.
piotr added a comment.

Good spot - I looked at the shader database and indeed the pattern with two connected setcc is frequent enough to special case it so I updated the patch.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86878/new/

https://reviews.llvm.org/D86878

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/test/CodeGen/AMDGPU/combine-add-zext-xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86878.298369.patch
Type: text/x-patch
Size: 8056 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/0f8741d9/attachment.bin>


More information about the llvm-commits mailing list