[all-commits] [llvm/llvm-project] d2f25e: [LegalizeTypes] Avoid creating an unused node in E...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Sep 10 16:40:34 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2f25e5405cce348913994db71a5efb0c1cf7f28
      https://github.com/llvm/llvm-project/commit/d2f25e5405cce348913994db71a5efb0c1cf7f28
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/lanai_isel.ll.expected

  Log Message:
  -----------
  [LegalizeTypes] Avoid creating an unused node in ExpandIntRes_ADDSUB. NFC

The Hi result is sometimes calculated a different way and this
node goes unused. Defer creation until we know for sure it is neeeded.

The test changes is because the node creation order changed the names
in the debug output.



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