[PATCH] D103323: [DAGCombiner] Add support for mulhi const folding in DAGCombiner
David Stuttard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 5 03:28:09 PDT 2021
dstuttard marked 2 inline comments as done.
dstuttard added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/udiv.ll:206
+; GCN-LABEL: v_test_udiv64_mulhi_fold
+; GFX1030: s_add_u32 s{{[0-9]+}}, 0x4237, s{{[0-9]+}}
+ %d = udiv i64 %arg, 100000
----------------
RKSimon wrote:
> Possibly pre-commit this to show current codegen? Do we need a GFX1030-NOT v_mul_hi_u32 check of some kind?
Good idea. See latest change.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103323/new/
https://reviews.llvm.org/D103323
More information about the llvm-commits
mailing list