[PATCH] D72961: In early-ifconversion check that the operands of a PHI share a common regclass with the destination regclass.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 20 13:04:28 PST 2020


efriedma added a comment.

Okay.

I think this check should be the responsibility of specific targets, in canInsertSelect().  The target-specific methods already check similar conditions (whether the "true" and "false" registers have a common subclass).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72961





More information about the llvm-commits mailing list