Check TTI before bothering to run the computation. Everything
will be assumed uniform by default.
Details
Diff Detail
Event Timeline
| llvm/lib/CodeGen/MachineUniformityAnalysis.cpp | ||
|---|---|---|
| 225 | Perhaps this magic constant "true" can be the result of calling NoTTI::hasBranchDivergence()? | |
| llvm/lib/CodeGen/MachineUniformityAnalysis.cpp | ||
|---|---|---|
| 223 | Can this issue be related to the compiler's inability to construct a Target object when the target is specified using "-march"? This was causing UA to produce incorrect results. https://godbolt.org/z/hqeGovefe | |
| 225 | That will return false I think. | |
| llvm/lib/CodeGen/MachineUniformityAnalysis.cpp | ||
|---|---|---|
| 223 | I think this is more of a pass manager issue with -run-pass. It's probably not dealing with IR pass dependencies | |
| llvm/include/llvm/ADT/GenericUniformityImpl.h | ||
|---|---|---|
| 46 | I don't see why this is needed here. It's already included in lib/Analysis/UniformityAnalysis.cpp. | |
I don't see why this is needed here. It's already included in lib/Analysis/UniformityAnalysis.cpp.