Files
clang-p2996/clang/test/AST/ByteCode/builtin-bit-cast-long-double.cpp
Timm Baeder 1fbbf4c418 [clang][bytecode] Pass (float) BitWidth to DoBitCast (#119119)
In certain cases (i.e. long double on x86), the bit with we get from the
floating point semantics is different than the type size we compute for
the BitCast instruction. Pass this along to DoBitCast, so in there we
can check only the relevant bits for being initialized.

This also fixes a weirdness we still had in DoBitCast.
2024-12-08 18:54:08 +01:00

3.3 KiB