================
@@ -1107,8 +1197,7 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl
&gd, unsigned builtinID,
// Finally, store the result using the pointer.
bool isVolatile =
resultArg->getType()->getPointeeType().isVolatileQualified();
- builder.createStore(loc, emitToMemory(arithOp.getResult(), resultQTy),
- resultPtr, isVolatile);
+ builder.createStore(loc, arithOp.getResult(), resultPtr, isVolatile);
----------------
HendrikHuebner wrote:
Yes this was intentional -- although I'm not entirely sure its correct. The
`emitToMemory` implementation broke a test for the overflow builtins. I think
the emitToMemory might not be necessary here.
https://github.com/llvm/llvm-project/pull/168347
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits