[llvm-dev] Deprecating ADDC/ADDE/SUBC/SUBE

Amaury Séchet via llvm-dev llvm-dev at lists.llvm.org
Wed May 30 09:57:08 PDT 2018


These opcodes have been deprecated about a year ago, but still in use in
various backend.

In https://reviews.llvm.org/D47422 I would like to change the behavior of
the backend to not enable the use of these opcodes by default. The opcode
remains usable by any backend that wish to use them, but that should limit
the situation where newer backend just use them as they are enabled by
default.

This shouldn't break any out of tree backend, however, it may cause
misoptimisation if the backend dev do not activate these opcodes via
setOperationAction and rely on them for some of their optimizations.

I would like to gather some feedback about moving forward with that as it
can impact a wide range of users.

So, feedback ?

Thanks in advance for your answers,

Amaury Séchet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180530/7ee76022/attachment.html>


More information about the llvm-dev mailing list