Skip to content

Commit 48e202c

Browse files
committed
Make one place better
1 parent bddfc96 commit 48e202c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,15 +1839,17 @@ struct ExpTgt {
18391839
unsigned MaxIndex;
18401840
};
18411841

1842+
// clang-format off
18421843
static constexpr ExpTgt ExpTgtInfo[] = {
1843-
{{"null"}, ET_NULL, ET_NULL_MAX_IDX},
1844-
{{"mrtz"}, ET_MRTZ, ET_MRTZ_MAX_IDX},
1845-
{{"prim"}, ET_PRIM, ET_PRIM_MAX_IDX},
1846-
{{"mrt"}, ET_MRT0, ET_MRT_MAX_IDX},
1847-
{{"pos"}, ET_POS0, ET_POS_MAX_IDX},
1848-
{{"dual_src_blend"}, ET_DUAL_SRC_BLEND0, ET_DUAL_SRC_BLEND_MAX_IDX},
1849-
{{"param"}, ET_PARAM0, ET_PARAM_MAX_IDX},
1844+
{{"null"}, ET_NULL, ET_NULL_MAX_IDX},
1845+
{{"mrtz"}, ET_MRTZ, ET_MRTZ_MAX_IDX},
1846+
{{"prim"}, ET_PRIM, ET_PRIM_MAX_IDX},
1847+
{{"mrt"}, ET_MRT0, ET_MRT_MAX_IDX},
1848+
{{"pos"}, ET_POS0, ET_POS_MAX_IDX},
1849+
{{"dual_src_blend"},ET_DUAL_SRC_BLEND0, ET_DUAL_SRC_BLEND_MAX_IDX},
1850+
{{"param"}, ET_PARAM0, ET_PARAM_MAX_IDX},
18501851
};
1852+
// clang-format on
18511853

18521854
bool getTgtName(unsigned Id, StringRef &Name, int &Index) {
18531855
for (const ExpTgt &Val : ExpTgtInfo) {

0 commit comments

Comments
 (0)