royjacobson added a comment.

In D146329#4203174 <https://reviews.llvm.org/D146329#4203174>, @shafik wrote:

> I would have loved to test the case from 
> https://github.com/llvm/llvm-project/issues/61335 directly but I think in 
> order to do it nicely I need `__builtin_memset` to be usable in a constant 
> expression context. I will add this to my todo list. I am open to other 
> alternatives for testing this.

I managed to generate relatively readable LLVM IR for this: 
https://godbolt.org/z/z1YzoEcr3 (the generated equality operators are obviously 
not correct yet), I think matching against that is testing the issue pretty 
well.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146329/new/

https://reviews.llvm.org/D146329

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to