[PATCH] D79716: [CodeGen] Fix bug in inline asm reserved register detection

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 11 12:23:06 PDT 2020


efriedma added a comment.

We can't reasonably check whether the argument is undef; among other issues, it completely destroys the meaning of "undef", and the argument probably won't be undef at -O0.

If we want to do something here, we need to resolve it in clang somehow, so we aren't passing an argument at all.

(I think gcc prints an error for this case?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79716





More information about the llvm-commits mailing list