fcgl option will make compilation stop after clang codeGen and output the llvm ir.
It is added to check clang codeGen output for HLSL.
It will be translated into -S -emit-llvm and -disable-llvm-passes.
Differential D124983
[HLSL] add -fcgl option flag. python3kgae on May 4 2022, 11:17 PM. Authored by
Details fcgl option will make compilation stop after clang codeGen and output the llvm ir. It will be translated into -S -emit-llvm and -disable-llvm-passes.
Diff Detail
Event Timeline
Comment Actions Add emit_pristine_llvm to make fcgl easier to understand. Comment Actions LGTM aside from a tiny nit.
|
Any particular reason for this name? Naively, I have no idea what this does or how it relates to code generation.