[llvm] e2df48b - [RISCV] Add further trace output to InsertVSETLVI
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 09:15:58 PDT 2022
Author: Philip Reames
Date: 2022-05-16T09:15:32-07:00
New Revision: e2df48bb23d714c031d4a3a4f614e9d863d6c412
URL: https://github.com/llvm/llvm-project/commit/e2df48bb23d714c031d4a3a4f614e9d863d6c412
DIFF: https://github.com/llvm/llvm-project/commit/e2df48bb23d714c031d4a3a4f614e9d863d6c412.diff
LOG: [RISCV] Add further trace output to InsertVSETLVI
Added:
Modified:
llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
index a5dc5b7e5474..5f3e3353600e 100644
--- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -985,6 +985,8 @@ bool RISCVInsertVSETVLI::computeVLVTYPEChanges(const MachineBasicBlock &MBB) {
// Initial exit state is whatever change we found in the block.
BBInfo.Exit = BBInfo.Change;
+ LLVM_DEBUG(dbgs() << "Initial exit state of " << printMBBReference(MBB)
+ << " is " << BBInfo.Exit << "\n");
return HadVectorOp;
}
More information about the llvm-commits
mailing list