[PATCH] D141717: [Clang] Only emit textual LLVM-IR in device only mode

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 12:10:52 PST 2023


tra added a comment.

Textual output for "-S -emit-llvm" is the canonical behavior, so I would prefer it working that way in as many cases as possible and only override it when necessary.

Would it be possible to enforce binary IR generation in cases you need it? Or to prove that this is equivalent to what the patch does now?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141717



More information about the cfe-commits mailing list