[PATCH] D146637: [InstCombine] Try to recognize bswap pattern when calling funnel shifts

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 01:21:52 PDT 2023


nikic added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp:1795
         return CallInst::Create(Bswap, { Op0 });
       }
     }
----------------
This code block can probably be dropped now, if it's already handled by the preceding?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146637



More information about the llvm-commits mailing list