[PATCH] D92228: [RISCV] Add MIR tests exposing missed InstAliases

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 29 17:55:02 PST 2020

craig.topper added a subscriber: arcbbb.
craig.topper added a comment.

Adding @arcbbb. Him and I were talking about maybe splitting masked and unmasked into separate instructions. We need to prevent masked instructions from using v0 as a destination. To do that we've been using @earlyclobber, but that prevents any source operand from being the same as the destination. To fix this it might be better to have separate masked and unmasked instructions. Then we won't use @earlyclobber and instead make the masked instruction forbid v0 as a destination with a register class constraint. Not sure how many additional instructions and pseudo instructions that will require. Thoughts?

  rG LLVM Github Monorepo



More information about the llvm-commits mailing list