https://github.com/pravinjagtap closed
https://github.com/llvm/llvm-project/pull/71139
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
Could probably golf this down for more sharing with the default path but this
is a start
https://github.com/llvm/llvm-project/pull/71139
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/pravinjagtap updated
https://github.com/llvm/llvm-project/pull/71139
>From c28e9f9fb753e41bc539fa4c45bd7896d7c5d04d Mon Sep 17 00:00:00 2001
From: Pravin Jagtap
Date: Fri, 3 Nov 2023 00:04:14 -0400
Subject: [PATCH 1/3] [AMDGPU] const-fold imm operands of amdgcn_update_dpp
@@ -17632,8 +17632,27 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
case AMDGPU::BI__builtin_amdgcn_mov_dpp:
case AMDGPU::BI__builtin_amdgcn_update_dpp: {
llvm::SmallVector Args;
-for (unsigned I = 0; I != E->getNumArgs(); ++I)
-
@@ -17632,8 +17632,20 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
case AMDGPU::BI__builtin_amdgcn_mov_dpp:
case AMDGPU::BI__builtin_amdgcn_update_dpp: {
llvm::SmallVector Args;
-for (unsigned I = 0; I != E->getNumArgs(); ++I)
-
@@ -17632,8 +17632,20 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
case AMDGPU::BI__builtin_amdgcn_mov_dpp:
case AMDGPU::BI__builtin_amdgcn_update_dpp: {
llvm::SmallVector Args;
-for (unsigned I = 0; I != E->getNumArgs(); ++I)
-
https://github.com/pravinjagtap updated
https://github.com/llvm/llvm-project/pull/71139
>From c28e9f9fb753e41bc539fa4c45bd7896d7c5d04d Mon Sep 17 00:00:00 2001
From: Pravin Jagtap
Date: Fri, 3 Nov 2023 00:04:14 -0400
Subject: [PATCH 1/2] [AMDGPU] const-fold imm operands of amdgcn_update_dpp
@@ -17632,8 +17632,20 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
case AMDGPU::BI__builtin_amdgcn_mov_dpp:
case AMDGPU::BI__builtin_amdgcn_update_dpp: {
llvm::SmallVector Args;
-for (unsigned I = 0; I != E->getNumArgs(); ++I)
-
@@ -17632,8 +17632,20 @@ Value *CodeGenFunction::EmitAMDGPUBuiltinExpr(unsigned
BuiltinID,
case AMDGPU::BI__builtin_amdgcn_mov_dpp:
case AMDGPU::BI__builtin_amdgcn_update_dpp: {
llvm::SmallVector Args;
-for (unsigned I = 0; I != E->getNumArgs(); ++I)
-
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 063e3fe648533004e6970ab767ece845e3c0afb1
c28e9f9fb753e41bc539fa4c45bd7896d7c5d04d --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Pravin Jagtap (pravinjagtap)
Changes
Operands of `__builtin_amdgcn_update_dpp` need to evaluate to constant to match
the intrinsic requirements.
---
Full diff: https://github.com/llvm/llvm-project/pull/71139.diff
2 Files Affected:
-
https://github.com/pravinjagtap created
https://github.com/llvm/llvm-project/pull/71139
Operands of `__builtin_amdgcn_update_dpp` need to evaluate to constant to match
the intrinsic requirements.
>From c28e9f9fb753e41bc539fa4c45bd7896d7c5d04d Mon Sep 17 00:00:00 2001
From: Pravin Jagtap
12 matches
Mail list logo