[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
Thu Jun 17 11:52:14 PDT 2021


gandhi21299 updated this revision to Diff 352811.
gandhi21299 marked 2 inline comments as done.
gandhi21299 added a comment.

- get lower 10 bits of the test mask by xor-ing with 0x3ff
- updated tests accordingly
- refactoring
- 2 tests still fail from the AMDGPU codegen test suite


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.352811.patch
Type: text/x-patch
Size: 4306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/7488b2d9/attachment-0001.bin>


More information about the llvm-commits mailing list