[llvm] [GISEL][AArch64] Stop using wip_match_opcode for some opcodes (PR #106702)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 30 07:42:18 PDT 2024
================
@@ -13,14 +13,14 @@ include "llvm/Target/GlobalISel/Combine.td"
def fconstant_to_constant : GICombineRule<
(defs root:$root),
- (match (wip_match_opcode G_FCONSTANT):$root,
+ (match (G_FCONSTANT $dst, $src):$root,
[{ return matchFConstantToConstant(*${root}, MRI); }]),
(apply [{ applyFConstantToConstant(*${root}); }])>;
def icmp_redundant_trunc_matchdata : GIDefMatchData<"Register">;
def icmp_redundant_trunc : GICombineRule<
(defs root:$root, icmp_redundant_trunc_matchdata:$matchinfo),
- (match (wip_match_opcode G_ICMP):$root,
+ (match (G_ICMP $dst, $tst, $src1, $src2):$root,
----------------
tschuett wrote:
This one is the issue.
https://github.com/llvm/llvm-project/pull/106702
More information about the llvm-commits
mailing list