[all-commits] [llvm/llvm-project] d95ebe: [InstCombine] ease use check for fold of bitcasted...

RotateRight via All-commits all-commits at lists.llvm.org
Thu Oct 7 12:15:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d95ebef4b8ecbbb9a9ef1d9cdd73f3fc8d06798a
      https://github.com/llvm/llvm-project/commit/d95ebef4b8ecbbb9a9ef1d9cdd73f3fc8d06798a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-10-07 (Thu, 07 Oct 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
    M llvm/test/Transforms/InstCombine/extractelement.ll

  Log Message:
  -----------
  [InstCombine] ease use check for fold of bitcasted extractelt to trunc

This helps with examples like:
https://llvm.org/PR52057
...but we need at least one more fold to fix that case.




More information about the All-commits mailing list