[all-commits] [llvm/llvm-project] 826947: [llvm-diff] Explicitly check ConstantStructs for d...
Bill Wendling via All-commits
all-commits at lists.llvm.org
Wed Jun 23 16:26:53 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 826947080b7e884c4758eff6e6646f7df4cc5380
https://github.com/llvm/llvm-project/commit/826947080b7e884c4758eff6e6646f7df4cc5380
Author: Bill Wendling <isanbard at gmail.com>
Date: 2021-06-23 (Wed, 23 Jun 2021)
Changed paths:
M llvm/test/tools/llvm-diff/initializers.ll
M llvm/tools/llvm-diff/DifferenceEngine.cpp
Log Message:
-----------
[llvm-diff] Explicitly check ConstantStructs for differences
A ConstantStruct is renamed when the LLVM context sees a new one. This
makes global variable initializers appear different when they aren't.
Instead, check the ConstantStruct for equivalence.
Differential Revision: https://reviews.llvm.org/D104734
More information about the All-commits
mailing list