diff options
author | Haocong.Lu <Haocong.Lu@streamcomputing.com> | 2022-02-25 12:37:07 +0000 |
---|---|---|
committer | Ben Shi <ben.shi@streamcomputing.com> | 2022-02-25 12:38:31 +0000 |
commit | 865fe131f87c68e27f64a1fe6f6351b6a6952cca (patch) | |
tree | 10b0487ad97279a2a0de44ffb1b25905ad702fbe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b7fba5325eabb05feac6ec78eed3c1b88e4f03f4 (diff) | |
download | llvm-865fe131f87c68e27f64a1fe6f6351b6a6952cca.zip llvm-865fe131f87c68e27f64a1fe6f6351b6a6952cca.tar.gz llvm-865fe131f87c68e27f64a1fe6f6351b6a6952cca.tar.bz2 |
[RISCV] Fix a mistake in PostprocessISelDAG
With the condition N->use_empty(), the root node of DAG always
misses peephole optimization. So a dummy node is needed.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D119934
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions