[llvm-dev] X86ISelLowering: Promote 'add nsw' to a wider type

Artur Pilipenko via llvm-dev llvm-dev at lists.llvm.org
Tue Jul 19 08:13:51 PDT 2016


Hi Sanjay,

Some time ago you implemented a sext(add_nsw(x, C)) --> add(sext(x), C_sext) transformation in X86ISelLowering
https://reviews.llvm.org/D13757
Is there any reason why this transformation is limited to sexts and doesn’t support zexts?

Thanks,
Artur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160719/cc3c8670/attachment.html>


More information about the llvm-dev mailing list