llvm/tools/llvm-diff
Brian Gesiak 90aa47d144 Let llvm-diff correctly deal with Undef/ConstantAggregateZero/ConstantVector/IndirectBr
Summary:
llvm-diff incorrectly reports that there's a diff when input IR contains undef/zeroinitializer/constantvector/indirectbr.
(This happens even if two identical files are given, e.g. `llvm-diff x.ll x.ll`)

This is fix to the bug report https://bugs.llvm.org/show_bug.cgi?id=33623 .



Reviewers: dexonsmith, rjmccall

Reviewed By: rjmccall

Subscribers: chenwj, mgrang, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@329957 91177308-0d34-0410-b5e6-96231b3b80d8
2018-04-12 21:28:04 +00:00
..
CMakeLists.txt
DiffConsumer.cpp
DiffConsumer.h
DifferenceEngine.cpp
DifferenceEngine.h
DiffLog.cpp
DiffLog.h
llvm-diff.cpp
LLVMBuild.txt