================ @@ -26,6 +28,98 @@ static AsmFlavor inferFlavor(const CIRGenModule &cgm, const AsmStmt &s) { return isa<MSAsmStmt>(&s) ? AsmFlavor::x86_intel : gnuAsmFlavor; } +// FIXME(cir): This should be a common helper between CIRGen ---------------- andykaylor wrote:
I would suggest a separate change that just moves the code and is presented as an NFC change in clang with an explanation as to why we want to move it. This code doesn't change often, but it's so specialized that I wouldn't want it to be duplicated. https://github.com/llvm/llvm-project/pull/154014 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits