diff options
author | Florian Hahn <flo@fhahn.com> | 2020-08-23 16:13:43 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2020-08-23 17:20:34 +0100 |
commit | 51a82828fb291fc8f7768711c4b769157d5f0227 (patch) | |
tree | 9aeffbd63f0e5f65e45f59b45413ea05fb53478b /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
parent | bef684154d400df5cfd935a18ed7312a582fe5eb (diff) | |
download | llvm-51a82828fb291fc8f7768711c4b769157d5f0227.zip llvm-51a82828fb291fc8f7768711c4b769157d5f0227.tar.gz llvm-51a82828fb291fc8f7768711c4b769157d5f0227.tar.bz2 |
[llvm-reduce] Skip terminators when reducing instructions.
Removing terminators will result in invalid IR, making further
reductions pointless. I do not think there is any valid use case where
we actually want to create invalid IR as part of a reduction.
Reviewed By: lebedev.ri
Differential Revision: https://reviews.llvm.org/D86210
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions