[clang] [clang][CIR] Convert fixed-point values to bool enums like bool (PR #245930)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 27 01:34:30 PST 2026
https://github.com/xlauko commented:
Thanks, the CIR side looks good. One thing outside the diff: classic CodeGen still has its own `hasBoolConversionSemantics()` (`clang/lib/CodeGen/CGExprScalar.cpp:182`). I'd prefer switching it to `Type::hasBooleanConversionSemantics()` here so there's one helper from the start. If you'd rather do it as the follow-up TPPPP72 suggested, please say so and I'm fine with that.
https://github.com/llvm/llvm-project/pull/245930
More information about the cfe-commits
mailing list