[all-commits] [llvm/llvm-project] 218256: [ConstantFold] Remove unnecessary BitCastConstantV...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 3 03:06:04 PDT 2023


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

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp

  Log Message:
  -----------
  [ConstantFold] Remove unnecessary BitCastConstantVector() (NFCI)

ConstantFoldCastInstruction() already has generic code to perform
lane-wise casts for vectors. There is no need to repeate it
specifically for bitcasts.




More information about the All-commits mailing list