[PATCH] D137705: [AMDGPU] Add DAG Combine for right-shift carry add to uaddo
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 15:41:59 PST 2022
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/add_shr_carry.ll:50
+ %shr = lshr i64 %add.a.b, 32
+ %add.c.shr = add i64 %c, %shr
+ ret i64 %add.c.shr
----------------
This second add is superfluous to the basic pattern https://alive2.llvm.org/ce/z/aLg_Ki
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137705/new/
https://reviews.llvm.org/D137705
More information about the llvm-commits
mailing list