[clang] [clang][Interp] IntegralAP zero-init (PR #68081)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 12 10:17:44 PDT 2023


================
@@ -1642,9 +1642,9 @@ bool ByteCodeExprGen<Emitter>::visitZeroInitializer(QualType QT,
   case PT_Uint64:
     return this->emitZeroUint64(E);
   case PT_IntAP:
+    return this->emitZeroIntAP(128, E); // FIXME: Ctx.getBitWidth()
   case PT_IntAPS:
-    assert(false);
-    return false;
+    return this->emitZeroIntAPS(128, E); // FIXME: Ctx.getBitWidth()
----------------
AaronBallman wrote:

Is something preventing us from supporting `getBitWidth()` right off the bat?

https://github.com/llvm/llvm-project/pull/68081


More information about the cfe-commits mailing list