[PATCH] D104049: [AMDGPU] [CodeGen] Fold negate llvm.amdgcn.class into test mask

Anshil Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 13 22:09:51 PDT 2021


gandhi21299 updated this revision to Diff 351770.
gandhi21299 added a comment.

- check if one of the operands of the xor instruction is a `ConstantInt`, fixes two of the tests


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104049

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-foldnegate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104049.351770.patch
Type: text/x-patch
Size: 5913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210614/542247a4/attachment.bin>


More information about the llvm-commits mailing list