[all-commits] [llvm/llvm-project] 198b79: [InstCombine] move bitmanipulation-of-select folds

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jun 21 08:32:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 198b79caae4ff01f146e311d2db14bfe13f098ad
      https://github.com/llvm/llvm-project/commit/198b79caae4ff01f146e311d2db14bfe13f098ad
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

  Log Message:
  -----------
  [InstCombine] move bitmanipulation-of-select folds

This is no outwardly-visible-difference-intended,
but it is obviously better to have all transforms
for an intrinsic housed together since we already
have helper functions in place.

It is also potentially more efficient to zap a
simple pattern match before trying to do expensive
computeKnownBits() calls.




More information about the All-commits mailing list