Skip to content

[PLACEHOLDER] Hoisted temporary zero initialization bug #483

Open
@weiya711

Description

@weiya711

I think there is a bug with the check here:

if (util::contains(needCompute, temporary) && !isScalar(temporary.getType()) && !accelerateDenseWorkSpace) {

It should be if (temporaryHoisted && util::contains(needCompute, temporary) && !isScalar(temporary.getType()) && !accelerateDenseWorkSpace)

since the code initialization is handled in codeToInitializeTemporary() for the if (!temporaryHoisted) case here

@stephenchouca can you confirm this for me since you made some of these changes too?
Placeholder for @weiya711 (myself) to fix later

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions