[all-commits] [llvm/llvm-project] c2a196: [InstCombine] Remove bitcast handling from Simplif...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 10 06:25:57 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a1966627aa45b3afa5d21758a983c56434ae23
      https://github.com/llvm/llvm-project/commit/c2a1966627aa45b3afa5d21758a983c56434ae23
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
    M llvm/test/Transforms/InstCombine/icmp-vec.ll

  Log Message:
  -----------
  [InstCombine] Remove bitcast handling from SimplifyDemandedBits

The complex set of type checks in this code reduces down to
"always return nullptr". Drop the code to use the default
implementation instead, which will just compute the KnownBits
for the bitcast.




More information about the All-commits mailing list