[PATCH] D130856: [NFC][DirectX backend] Fix crash when emit_obj for DirectX backend. When emit-obj from clang directly, DirectX backend will hit assert caused by not initialize passes for AsmPrinter.
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 10:09:58 PDT 2022
beanz added a comment.
The DirectX backend needs to be constructing a target pass config. The bug is that our override of `addPassesToEmitFile` isn't creating the pass config.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130856/new/
https://reviews.llvm.org/D130856
More information about the llvm-commits
mailing list