Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ampere-sw
WP2
LLVM
Commits
d9b6ef07
Commit
d9b6ef07
authored
Jun 17, 2020
by
rpenacob
Browse files
Forgot to set DependInfo base in the refactor
parent
336b53ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
llvm/lib/Transforms/OmpSs/OmpSsTransform.cpp
View file @
d9b6ef07
...
...
@@ -688,7 +688,7 @@ struct OmpSs : public ModulePass {
SmallVector
<
bool
,
4
>
SymbolsSeen
(
TI
.
DependsInfo
.
NumSymbols
,
false
);
auto
translateDepInfo
=
[
&
](
const
DependInfo
&
DepInfo
)
{
Value
*
DepBaseDSA
=
DepInfo
.
Args
[
0
]
;
Value
*
DepBaseDSA
=
DepInfo
.
Base
;
translateDepSymbol
(
BBBuilder
,
DepInfo
,
DepBaseDSA
,
UnpackParams
[
StructToIdxMap
[
DepBaseDSA
]],
AddrTranslationTable
,
TI
.
DSAInfo
.
DepSymToIdx
);
...
...
@@ -713,13 +713,13 @@ struct OmpSs : public ModulePass {
translateDepInfoList
(
TI
.
DependsInfo
.
WeakConcurrents
);
translateDepInfoList
(
TI
.
DependsInfo
.
WeakCommutatives
);
for
(
auto
&
RedInfo
:
TI
.
DependsInfo
.
Reductions
)
{
Value
*
DepBaseDSA
=
RedInfo
.
DepInfo
.
Args
[
0
]
;
Value
*
DepBaseDSA
=
RedInfo
.
DepInfo
.
Base
;
translateDepSymbol
(
BBBuilder
,
RedInfo
.
DepInfo
,
DepBaseDSA
,
UnpackParams
[
StructToIdxMap
[
DepBaseDSA
]],
AddrTranslationTable
,
TI
.
DSAInfo
.
DepSymToIdx
);
}
for
(
auto
&
RedInfo
:
TI
.
DependsInfo
.
WeakReductions
)
{
Value
*
DepBaseDSA
=
RedInfo
.
DepInfo
.
Args
[
0
]
;
Value
*
DepBaseDSA
=
RedInfo
.
DepInfo
.
Base
;
translateDepSymbol
(
BBBuilder
,
RedInfo
.
DepInfo
,
DepBaseDSA
,
UnpackParams
[
StructToIdxMap
[
DepBaseDSA
]],
AddrTranslationTable
,
TI
.
DSAInfo
.
DepSymToIdx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment