[PATCH] D83280: [AMDGPU] Fix typos in performCtlz_CttzCombine()

Ruiling, Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 23:13:36 PDT 2020


ruiling created this revision.
ruiling added reviewers: arsenm, nhaehnle.
Herald added subscribers: llvm-commits, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

Fix two obvious errors in the code and also update the test check.
Also add one test to catch the failure.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83280

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll
  llvm/test/CodeGen/AMDGPU/select-constant-cttz.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83280.275911.patch
Type: text/x-patch
Size: 4463 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/2a549547/attachment.bin>


More information about the llvm-commits mailing list