[llvm] [AMDGPU] Emit S_CBRANCH_SCC for floating-point conditions. (PR #120588)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 19 07:45:33 PST 2024
================
@@ -2389,13 +2389,15 @@ bool AMDGPUDAGToDAGISel::isCBranchSCC(const SDNode *N) const {
if (VT == MVT::i32)
return true;
+ const auto *ST = static_cast<const GCNSubtarget *>(Subtarget);
----------------
jayfoad wrote:
You don't need this at all, just use `Subtarget` instead of `ST`.
https://github.com/llvm/llvm-project/pull/120588
More information about the llvm-commits
mailing list