[all-commits] [llvm/llvm-project] 4ff45e: [GlobalISel][KnownBits] Simplify G_CONSTANT handli...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Mon May 13 04:59:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ff45eee36f003cda18a3654df4086e69dc245b5
      https://github.com/llvm/llvm-project/commit/4ff45eee36f003cda18a3654df4086e69dc245b5
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-05-13 (Mon, 13 May 2024)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp

  Log Message:
  -----------
  [GlobalISel][KnownBits] Simplify G_CONSTANT handling (#91946)

We called getIConstantVRegVal which again queried MRI to get the VReg
def. We already have the def, so just get the CImm directly. It can't
fail.



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