[PATCH] D159301: [RISCV][llvm-mca] Fix Fix getLMUL values
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 31 11:30:28 PDT 2023
michaelmaitland created this revision.
michaelmaitland added reviewers: craig.topper, andreadb, myhsu.
Herald added subscribers: jobnoorman, luke, sunshaoce, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
michaelmaitland requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.
These values come from RISCVInstrInfoVPseudos.td. MF8 and MF2 were
swapped by accident.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159301
Files:
llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
Index: llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
===================================================================
--- llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
+++ llvm/lib/Target/RISCV/MCA/RISCVCustomBehaviour.cpp
@@ -63,9 +63,9 @@
.Case("M2", 0b001)
.Case("M4", 0b010)
.Case("M8", 0b011)
- .Case("MF2", 0b101)
+ .Case("MF2", 0b111)
.Case("MF4", 0b110)
- .Case("MF8", 0b111);
+ .Case("MF8", 0b101);
}
const llvm::StringRef RISCVSEWInstrument::DESC_NAME = "RISCV-SEW";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159301.555115.patch
Type: text/x-patch
Size: 542 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230831/ec484d6a/attachment.bin>
More information about the llvm-commits
mailing list