[clang] [clang] Rework `hasBooleanRepresentation`. (PR #136038)
Michele Scandale via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 16 18:09:16 PDT 2025
================
@@ -2088,13 +2085,22 @@ llvm::Value *CodeGenFunction::EmitToMemory(llvm::Value *Value, QualType Ty) {
Value = Builder.CreateBitCast(Value, StoreTy);
}
+ if (Ty->hasBooleanRepresentation() || Ty->isBitIntType()) {
----------------
michele-scandale wrote:
I'll double check. I know there have been changes recently to support a different ABI in the HLSL case.
https://github.com/llvm/llvm-project/pull/136038
More information about the cfe-commits
mailing list