File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/unittests/ExecutionEngine/Orc Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ struct TargetI32ArgExtensions {
4141 TargetI32ArgExtensions (std::string TargetTriple, bool Signed = true ) {
4242 Triple T (TargetTriple);
4343 if (auto AK = TargetLibraryInfo::getExtAttrForI32Return (T, Signed))
44- Ret = Attribute::getNameFromAttrKind (AK);
44+ Ret = Attribute::getNameFromAttrKind (AK). str () + " " ;
4545 if (auto AK = TargetLibraryInfo::getExtAttrForI32Param (T, Signed))
46- Arg = Attribute::getNameFromAttrKind (AK);
46+ Arg = Attribute::getNameFromAttrKind (AK). str () + " " ;
4747 }
4848};
4949
@@ -111,7 +111,7 @@ class OrcCAPITestBase : public testing::Test {
111111 if (SumExample.empty ()) {
112112 TargetI32ArgExtensions ArgExt (TargetTriple);
113113 std::ostringstream OS;
114- OS << " define " << ArgExt.Ret << " i32 "
114+ OS << " define " << ArgExt.Ret << " i32 "
115115 << " @sum(i32 " << ArgExt.Arg << " %x, i32 " << ArgExt.Arg << " %y)"
116116 << R"( {
117117 entry:
You can’t perform that action at this time.
0 commit comments