[PATCH] D116238: [mips] Add -mfix4300 flag to enable vr4300 mulmul bugfix pass

Random via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 24 11:30:50 PST 2021


Random06457 updated this revision to Diff 396171.
Random06457 added a comment.

Addressed the comments.
I also updated `isFirstMul` to exclude integer multiplications which do not produce the bug. That change made me fix the tests too.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116238/new/

https://reviews.llvm.org/D116238

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Driver/ToolChains/Clang.cpp
  llvm/lib/Target/Mips/CMakeLists.txt
  llvm/lib/Target/Mips/Mips.h
  llvm/lib/Target/Mips/MipsMulMulBugPass.cpp
  llvm/lib/Target/Mips/MipsTargetMachine.cpp
  llvm/test/CodeGen/Mips/vr4300mulmul/mulbranch.ll
  llvm/test/CodeGen/Mips/vr4300mulmul/mulmul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116238.396171.patch
Type: text/x-patch
Size: 8156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211224/9edd992b/attachment.bin>


More information about the cfe-commits mailing list