[PATCH] D79498: [amdgpu] Fix check of VCC.

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 09:07:31 PDT 2020


hliao added a comment.

One alternative is to check `isSuperRegisterEq(Reg, VCC)` for conciseness and readability. Not sure, we will have similar issues on other special registers with 16-bit subregs. But, I admit that's costy compared to the current `switch`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79498





More information about the llvm-commits mailing list