[PATCH] D34300: [AMDGPU] simplify add x, *ext (setcc) => addc|subb x, 0, setcc
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 20 12:39:33 PDT 2017
rampitec added inline comments.
================
Comment at: lib/Target/AMDGPU/SIISelLowering.cpp:473
}
+ setTargetDAGCombine(ISD::ADD);
----------------
arsenm wrote:
> ADDCARRY/SUBCARRY should be marked as legal so more combines work on them
Done, but I do not see any visible difference.
Repository:
rL LLVM
https://reviews.llvm.org/D34300
More information about the llvm-commits
mailing list