[PATCH] D78684: [GISel]: Relax opcode checking at the top level to enable CSE
Aditya Nandakumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 22 17:59:22 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3db893b3712a: [GISel]: Relax opcode checking at the top level to enable CSE (authored by aditya_nandakumar).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78684/new/
https://reviews.llvm.org/D78684
Files:
llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
Index: llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
===================================================================
--- llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
+++ llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
@@ -217,9 +217,6 @@
}
bool GISelCSEInfo::shouldCSE(unsigned Opc) const {
- // Only GISel opcodes are CSEable
- if (!isPreISelGenericOpcode(Opc))
- return false;
assert(CSEOpt.get() && "CSEConfig not set");
return CSEOpt->shouldCSEOpc(Opc);
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78684.259447.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200423/332728e9/attachment-0001.bin>
More information about the llvm-commits
mailing list