[all-commits] [llvm/llvm-project] 0748a9: [InstCombine] Handle ConstantFoldCompareInstOperan...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 22 05:34:16 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0748a98ab009d4fd97438970e7d92660967a0652
      https://github.com/llvm/llvm-project/commit/0748a98ab009d4fd97438970e7d92660967a0652
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/load-cmp.ll

  Log Message:
  -----------
  [InstCombine] Handle ConstantFoldCompareInstOperands() failure

This function will return nullptr instead of returning a constant
expression now, so be sure to handle that.

Fixes https://github.com/llvm/llvm-project/issues/93017.



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