[all-commits] [llvm/llvm-project] 319840: llvm-diff: Avoid crash with complex expressions
Dominic Chen via All-commits
all-commits at lists.llvm.org
Thu May 21 14:44:45 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 31984063678ef523b940160ac9d49fcb87c1e2ac
https://github.com/llvm/llvm-project/commit/31984063678ef523b940160ac9d49fcb87c1e2ac
Author: Dominic Chen <d.c.ddcc at gmail.com>
Date: 2020-05-21 (Thu, 21 May 2020)
Changed paths:
M llvm/tools/llvm-diff/DifferenceEngine.cpp
Log Message:
-----------
llvm-diff: Avoid crash with complex expressions
Summary: With complex IR, the difference engine can enter an inconsistent state where the instruction and block difference engines return different results. Prevent a crash by refusing to pop beyond the end of the vector.
Reviewers: rjmccall
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80351
More information about the All-commits
mailing list