efriedma-quic wrote:

I think some of the overloads for constructing an instruction aren't quite 
right: in some cases, we require a non-null insertion-point so we can retrieve 
the DataLayout from the insertion-point.  (Particularly instructions that have 
an explicitly specified alignment.)  In those cases, we shouldn't default to "= 
nullptr": a null insertion point is guaranteed to assert at runtime.

https://github.com/llvm/llvm-project/pull/94226
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to