[PATCH] D79778: [CodeGen] Remove buggy handling of input operands in inline asm

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 28 13:14:03 PDT 2020


efriedma added a comment.

Oh, hmm, somehow I missed that when I looked at this before; gcc actually tracks whether the variable is initialized/assigned-to, and doesn't emit an error if there is no assignment.  And, as usual with gcc, whether the error is emitted depends on the optimization level in some cases.  That seems completely bizarre, but okay, I guess.

If there's some real code depending on that, sure, we can temporarily revert the relevant LLVM changes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79778





More information about the llvm-commits mailing list