[all-commits] [llvm/llvm-project] ab6002: [llvm-diff] Add support for diffing the callbr ins...

Bill Wendling via All-commits all-commits at lists.llvm.org
Tue Jun 22 12:24:15 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab6002871d837490ed333ed9ff4993cb75964cad
      https://github.com/llvm/llvm-project/commit/ab6002871d837490ed333ed9ff4993cb75964cad
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    A llvm/test/tools/llvm-diff/callbr.ll
    M llvm/tools/llvm-diff/DifferenceEngine.cpp

  Log Message:
  -----------
  [llvm-diff] Add support for diffing the callbr instruction

The only wrinkle is that we can't process the "blockaddress" arguments
of the callbr until the blocks have been equated. So we force them to be
"unified" before checking.

This was left out when the callbr instruction was added.

Differential Revision: https://reviews.llvm.org/D104606


  Commit: 46db43240f0f24e76ab903db8086f53a7dddbedf
      https://github.com/llvm/llvm-project/commit/46db43240f0f24e76ab903db8086f53a7dddbedf
  Author: Bill Wendling <isanbard at gmail.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    A llvm/test/tools/llvm-diff/initializers.ll
    M llvm/tools/llvm-diff/DifferenceEngine.cpp

  Log Message:
  -----------
  [llvm-diff] Explicitly check ConstantArrays

Global initializers may be ConstantArrays. They need to be checked
explicitly, because different-yet-still-equivalent type names may be
used for each, and/or a GEP instruction may appear in one.


Compare: https://github.com/llvm/llvm-project/compare/ae1093921fc8...46db43240f0f


More information about the All-commits mailing list