A recently added OpenMP optimization pass (D69930) tries to deduplicate omp runtime calls by merging the calls and insert a new one in entry block. However the insertion didn't honor def-use chain of parameters, so it can introduce use-before-def. This change fixed the problem by taking def-use into account for finding insertion point of the merged runtime call.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 47184 Build 50000: arc lint + arc unit
Event Timeline
Comment Actions
@jdoerfert good to know it's being fixed - thanks! I saw that fix is accepted, do you plan to land it now, asking because this broke dozens of internal builds, so we want to resolve it asap - deciding whether to wait for your fix to go in or we need to port over your fix manually.