[llvm] [AMDGPU] Introduce a pseudo mnemonic for S_DELAY_ALU in MIR. (PR #96004)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 20 01:28:37 PDT 2024
================
@@ -17,6 +17,157 @@
using namespace llvm;
+void AMDGPUMIRFormatter::printImm(raw_ostream &OS, const MachineInstr &MI,
+ std::optional<unsigned int> OpIdx, int64_t Imm) const {
+
+ switch(MI.getOpcode()) {
----------------
jayfoad wrote:
I don't understand why the automated clang-format checker isn't complaining about things like this. When I run clang-format locally it does complain.
```suggestion
switch (MI.getOpcode()) {
```
https://github.com/llvm/llvm-project/pull/96004
More information about the llvm-commits
mailing list