[llvm] [LoongArch] Implement COPY instruction between CFRs (PR #69300)
WÁNG Xuěruì via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 01:59:30 PDT 2023
================
@@ -126,6 +126,23 @@ def PseudoST_CFR : Pseudo<(outs),
let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
def PseudoLD_CFR : Pseudo<(outs CFR:$ccd),
(ins GPR:$rj, grlenimm:$imm)>;
+
+// SET_CFR_{FALSE,TRUE}
+// These instructions are defined in order to avoid expensive check error when
----------------
xen0n wrote:
What error is caused by not defining these shortcut nodes? Maybe you mean "... in order to avoid expensive checks if regular instruction patterns are used"?
https://github.com/llvm/llvm-project/pull/69300
More information about the llvm-commits
mailing list