Skip to content

Commit d7d9192

Browse files
clang-format and fix spelling error
1 parent f6b36b4 commit d7d9192

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

llvm/lib/SYCLLowerIR/CompileTimePropertiesPass.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,8 @@ attributeToExecModeMetadata(const Attribute &Attr, Function &F) {
259259
MD.push_back(MDString::get(Ctx, "streaming"));
260260
if (getAttributeAsInteger<uint32_t>(Attr))
261261
MD.push_back(MDString::get(Ctx, "stall_free_return"));
262-
return std::pair<std::string, MDNode *>(
263-
"ip_interface", MDNode::get(Ctx, MD));
262+
return std::pair<std::string, MDNode *>("ip_interface",
263+
MDNode::get(Ctx, MD));
264264
}
265265

266266
if (AttrKindStr == "sycl-register-map-interface") {
@@ -271,8 +271,8 @@ attributeToExecModeMetadata(const Attribute &Attr, Function &F) {
271271
MD.push_back(MDString::get(Ctx, "csr"));
272272
if (getAttributeAsInteger<uint32_t>(Attr))
273273
MD.push_back(MDString::get(Ctx, "wait_for_done_write"));
274-
return std::pair<std::string, MDNode *>(
275-
"ip_interface", MDNode::get(Ctx, MD));
274+
return std::pair<std::string, MDNode *>("ip_interface",
275+
MDNode::get(Ctx, MD));
276276
}
277277

278278
if ((AttrKindStr == SYCL_REGISTER_ALLOC_MODE_ATTR ||
@@ -376,7 +376,7 @@ PreservedAnalyses CompileTimePropertiesPass::run(Module &M,
376376
if (isHostPipeVariable(GV)) {
377377
auto VarName = getGlobalVariableUniqueId(GV);
378378
MDOps.push_back(buildSpirvDecorMetadata(Ctx, SPIRV_HOST_ACCESS_DECOR,
379-
SPIRV_HOST_ACCESS_DEFAULT_VALUE,
379+
SPIRV_HOST_ACCESS_DEFAULT_VALUE,
380380
VarName));
381381
}
382382

sycl/include/sycl/ext/intel/experimental/fpga_kernel_properties.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ struct pipelined_key {
5050
};
5151

5252
template <streaming_interface_options_enum option =
53-
streaming_interface_accept_downstream_stall>
53+
streaming_interface_options_enum::accept_downstream_stall>
5454
inline constexpr streaming_interface_key::value_t<option> streaming_interface;
5555

5656
inline constexpr streaming_interface_key::value_t<
@@ -62,7 +62,7 @@ inline constexpr streaming_interface_key::value_t<
6262
streaming_interface_remove_downstream_stall;
6363

6464
template <register_map_interface_options_enum option =
65-
register_map_interface_options_enum::do_not_wait_for_done_write>
65+
register_map_interface_options_enum::do_not_wait_for_done_write>
6666
inline constexpr register_map_interface_key::value_t<option>
6767
register_map_interface;
6868

0 commit comments

Comments
 (0)