[PATCH] D149699: [InstCombine] Improve bswap optimization

Austin Chang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 7 20:43:55 PDT 2023


austin880625 added a comment.

I'm not able to reproduce the failure with the given IR. Does the failure persist if the `and` in the `bswap` are moved out as a separate instruction?
Anyway maybe we should use `dyn_cast` with `if` check


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149699



More information about the llvm-commits mailing list