[PATCH] D155023: Don't assert on a non-pointer value being used for a "p" inline asm constraint.

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 23:28:04 PDT 2023


pengfei added a comment.

Do you have a C code? I want to see its original constraint. I'm not sure the problem is in IR's constraint or the FE that chooses `p` as constraint. >From LangRef <https://llvm.org/docs/LangRef.html#supported-constraint-code-list> , `p` is described as `An address operand`. I would incline to a restricted and precise semantic for constraints in IR. Otherwise, we may face more backend crash.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D155023



More information about the llvm-commits mailing list