File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1616// / uniformity. And every instruction that's downstream and cares about dynamic
1717// / uniformity must be convergent (and isel will introduce v_readfirstlane for
1818// / them if their operands can't be proven statically uniform).
19+ // /
20+ // / Although the transformations are applied at the function level, this pass is
21+ // / structured as a ModulePass because we must also inspect intrinsic
22+ // / declarations at the module scope. A function pass would require re-scanning
23+ // / all instructions in every function, while the module view lets us directly
24+ // / pair intrinsic uses with their declarations in a single traversal.
1925// ===----------------------------------------------------------------------===//
2026
2127#include " AMDGPU.h"
You can’t perform that action at this time.
0 commit comments