[all-commits] [llvm/llvm-project] deaeb1: [RISCV] Indicate that RISCVMergeBaseOffsetOpt pres...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Aug 3 08:42:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: deaeb16d88e92be644a157d499e9862cde4f22aa
https://github.com/llvm/llvm-project/commit/deaeb16d88e92be644a157d499e9862cde4f22aa
Author: Craig Topper <craig.topper at sifive.com>
Date: 2021-08-03 (Tue, 03 Aug 2021)
Changed paths:
M llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp
Log Message:
-----------
[RISCV] Indicate that RISCVMergeBaseOffsetOpt preserves the CFG.
Return false from runOnFunction if nothing changed. Curiously
we already returned a bool from detectAndFoldOffset, but didn't
use it.
Fix a couple breaks after returns that I saw while auditing
detectAndFoldOffset.
Differential Revision: https://reviews.llvm.org/D107303
More information about the All-commits
mailing list