[PATCH] D114361: [MachineCSE] Add an option to enable global CSE

wangpc via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 23 00:14:40 PST 2021


pcwang-thead updated this revision to Diff 389104.
pcwang-thead added a comment.

- Change `global` to `aggressive`.
- Return `true` immediately if aggressive MachineCSE is enabled.
- Change test case to MIR test.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114361

Files:
  llvm/include/llvm/CodeGen/TargetInstrInfo.h
  llvm/lib/CodeGen/MachineCSE.cpp
  llvm/test/CodeGen/RISCV/enable-agressive-machine-cse.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114361.389104.patch
Type: text/x-patch
Size: 4036 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211123/2d6f8e4a/attachment.bin>


More information about the llvm-commits mailing list