[llvm] [RISCV] Remove -riscv-insert-vsetvl-strict-asserts flag (PR #90171)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 25 23:16:22 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 47682e4b4a0c8e7637d65868a7208aa6806a50f4 2a3263d766de46f8642fedd9a791ed89ed7adcff -- llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
index 90fa0920c4..f399a0b6d5 100644
--- a/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+++ b/llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
@@ -1433,8 +1433,7 @@ void RISCVInsertVSETVLI::emitVSETVLIs(MachineBasicBlock &MBB) {
LLVM_DEBUG(dbgs() << " expected end state: " << Info.Exit << "\n");
LLVM_DEBUG(dbgs() << " actual end state: " << CurInfo << "\n");
}
- assert(CurInfo == Info.Exit &&
- "InsertVSETVLI dataflow invariant violated");
+ assert(CurInfo == Info.Exit && "InsertVSETVLI dataflow invariant violated");
}
/// Perform simple partial redundancy elimination of the VSETVLI instructions
``````````
</details>
https://github.com/llvm/llvm-project/pull/90171
More information about the llvm-commits
mailing list