[PATCH] D144715: [AMDGPU] Use `S_BFE_U64` for uniform i1-i64 ext
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 24 04:00:46 PST 2023
foad added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/saddo.ll:34
-; SI-NEXT: v_mov_b32_e32 v1, s11
-; SI-NEXT: v_add_i32_e32 v0, vcc, s10, v0
-; SI-NEXT: v_addc_u32_e32 v1, vcc, 0, v1, vcc
----------------
This looks like we could avoid the v_cndmask_b32_e64 if we used v_addc with the carry input coming from s[4:5]
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144715/new/
https://reviews.llvm.org/D144715
More information about the llvm-commits
mailing list