[PATCH] D6407: [InstCombine] Minor optimization for bswap with binary ops

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 13 05:34:56 PDT 2022


RKSimon added a comment.

Sorry for not replying (I tend to assume any comments on ancient phabs are spambots).

Developers are human too - they might not intentionally do many things, but they still crop up!

IIRC (8 years...........) as well as PR15782, this particular case turned up in some ABGR -> RGBA pixel code swizzling. I can imagine it potentially happening in network 'ntohl' style ops as well.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D6407



More information about the llvm-commits mailing list