[PATCH] D145299: [InstCombine] Generate better code for std::bit_ceil

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 19:06:42 PDT 2023


kazu updated this revision to Diff 507939.
kazu added a comment.

Adjusted MatchForward.
Adjusted the condition for select.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145299

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/bit_ceil.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145299.507939.patch
Type: text/x-patch
Size: 12843 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230324/dbbad172/attachment.bin>


More information about the llvm-commits mailing list