ManuelJBrito added a comment. In D143287#4104056 <https://reviews.llvm.org/D143287#4104056>, @RKSimon wrote:
> What do we gain from using __builtin_nondeterministic_value instead of just > setzero? https://godbolt.org/z/zrb6858Mr __builtin_nondeterministic_value is lowered to freeze(poison) These intrinsics are meant to be no-op and we can't to that with zeroinitializer, although as of right now instcombine seems to transform the freeze(poison) into zeroinitializer(as shown by your example), so i'll make another patch to fix that. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143287/new/ https://reviews.llvm.org/D143287 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits