[all-commits] [llvm/llvm-project] d620ba: [MC] Remove unneeded isUndefined() for isSymbolRef...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 15 15:07:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d620ba0344c719da51b6067975439ed84024b1ac
      https://github.com/llvm/llvm-project/commit/d620ba0344c719da51b6067975439ed84024b1ac
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M llvm/lib/MC/MCObjectWriter.cpp

  Log Message:
  -----------
  [MC] Remove unneeded isUndefined() for isSymbolRefDifferenceFullyResolved. NFC

The only caller `AttemptToFoldSymbolOffsetDifference` has performed the same
checks.




More information about the All-commits mailing list