llvm-mirror/tools/llvm-diff
Brian Gesiak a53989e5a9 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

llvm-svn: 329957
2018-04-12 21:28:04 +00:00
..
CMakeLists.txt [CMake] llvm-diff depends on intrinsics_gen 2016-11-19 02:28:18 +00:00
DiffConsumer.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
DiffConsumer.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DifferenceEngine.cpp Let llvm-diff correctly deal with Undef/ConstantAggregateZero/ConstantVector/IndirectBr 2018-04-12 21:28:04 +00:00
DifferenceEngine.h [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
DiffLog.cpp Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
DiffLog.h -Wdeprecated clean by making LogBuilder move constructible so it can be returned by value (in DifferenceEngine::logf) 2015-08-05 21:06:50 +00:00
llvm-diff.cpp [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
LLVMBuild.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00