[PATCH] D145416: [clang] model 'p' inline asm constraint as reading memory

James Y Knight via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 6 15:08:17 PST 2023


jyknight added a comment.

> ā€˜pā€™ in the constraint must be accompanied by address_operand as the predicate in the match_operand. This predicate interprets the mode specified in the match_operand as the mode of the memory reference for which the address would be valid.

How do you do that with inline-asm?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145416



More information about the cfe-commits mailing list