[all-commits] [llvm/llvm-project] 790f2e: [InstCombine] Avoid simplifying bitcast of undef t...

Alex MacLean via All-commits all-commits at lists.llvm.org
Tue Sep 17 15:31:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 790f2eb16a279f4cb4b57397fcafd5cadb49d6b7
      https://github.com/llvm/llvm-project/commit/790f2eb16a279f4cb4b57397fcafd5cadb49d6b7
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-09-17 (Tue, 17 Sep 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
    M llvm/test/Transforms/InstCombine/bitcast.ll

  Log Message:
  -----------
  [InstCombine] Avoid simplifying bitcast of undef to a zeroinitializer vector (#108872)

In some cases, if an undef value is the product of another instcombine
simplification, a bitcast of undef is simplified to a zeroinitializer
vector instead of undef.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list