This resolves some "instruction does not dominate use" errors, as we used to
prepare the arrays at the location of the first kernel, which not necessarily
dominated all other kernel calls.
Details
Details
- Reviewers
Meinersbur bollu singam-sanjay - Commits
- rGb99c11710c17: [GPGPU] Make sure managed arrays are prepared at the beginning of the scop
rPLO310196: [GPGPU] Make sure managed arrays are prepared at the beginning of the scop
rL310196: [GPGPU] Make sure managed arrays are prepared at the beginning of the scop
Diff Detail
Diff Detail
- Build Status
Buildable 9073 Build 9073: arc lint + arc unit
Event Timeline
Comment Actions
LGTM. I wish there was a simpler test case, but I can understand how it maybe hard to reduce it further.
lib/CodeGen/PPCGCodeGeneration.cpp | ||
---|---|---|
790 | Nit: Devise -> Device. most only be... -> must only be.... |
Nit: Devise -> Device. most only be... -> must only be....