[all-commits] [llvm/llvm-project] a38d5e: [SelectionDAG] Use LAST_INTEGER_VALUETYPE instead ...

Dmitry Borisenkov via All-commits all-commits at lists.llvm.org
Wed Jul 10 10:39:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a38d5e06326fffca5a67d1865046e6992171019a
      https://github.com/llvm/llvm-project/commit/a38d5e06326fffca5a67d1865046e6992171019a
  Author: Dmitry Borisenkov <dmitriy.borisenkov89 at gmail.com>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp

  Log Message:
  -----------
  [SelectionDAG] Use LAST_INTEGER_VALUETYPE instead of i64 (#98299)

When looking for a largest legal integer type for a target
`TargetLowering::findOptimalMemOpLowering` assumes that `MVT::i64` is
the largets possible integer type. The patch removes this assumption and
uses `MVT::LAST_INTEGER_VALUETYPE` instead.



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