[llvm-branch-commits] [llvm] [AMDGPU] Add FUNC_FULL_SIMD_MODE for object linking info flag (PR #207632)
Shilei Tian via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Sep 6 19:28:58 PDT 2026
================
@@ -68,7 +68,9 @@ enum class FuncInfoFlags : uint32_t {
FUNC_USES_VCC = 1U << 0,
FUNC_USES_FLAT_SCRATCH = 1U << 1,
FUNC_HAS_DYN_STACK = 1U << 2,
- LLVM_MARK_AS_BITMASK_ENUM(/*LargestValue=*/FUNC_HAS_DYN_STACK),
+ /// Function uses WGP mode. If unset, the function uses CU mode.
+ FUNC_WGP_MODE = 1U << 3,
----------------
shiltian wrote:
Its default value now is `isFullSIMDMode`, but I wonder the mode for pre-gfx10? Are they 4-SIMD or 2-SIMD?
https://github.com/llvm/llvm-project/pull/207632
More information about the llvm-branch-commits
mailing list