[llvm] AMDGPU: Change round-mode operand type to i32 for FPTRUNC_ROUND (PR #106424)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 10:53:46 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 25d976b45cb5b3d222d3a9cd94caa8a54031bbb7 d2acd858ae79f5256a44ae1feca328118e4b220b --extensions cpp -- llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 851c646b1c..4a2bd89ff9 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -6955,9 +6955,9 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
SelectionDAG::FlagInserter FlagsInserter(DAG, Flags);
SDValue Result;
- Result = DAG.getNode(
- ISD::FPTRUNC_ROUND, sdl, VT, getValue(I.getArgOperand(0)),
- DAG.getTargetConstant((int)*RoundMode, sdl, MVT::i32));
+ Result =
+ DAG.getNode(ISD::FPTRUNC_ROUND, sdl, VT, getValue(I.getArgOperand(0)),
+ DAG.getTargetConstant((int)*RoundMode, sdl, MVT::i32));
setValue(&I, Result);
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/106424
More information about the llvm-commits
mailing list