A little extra change was needed in UA because it didn't consider
InvokeInst and it made call-constexpr.ll assert.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Analysis/UniformityAnalysis.cpp | ||
---|---|---|
35 | What was the purpose of the assert? Maybe remove it instead, or insert that the instruction has non-void type or something? |
llvm/lib/Analysis/UniformityAnalysis.cpp | ||
---|---|---|
35 | I'd guess this should be I.getType()->isFirstClassType() |
llvm/lib/Analysis/UniformityAnalysis.cpp | ||
---|---|---|
35 | Unfortunately, this is in a template that needs to work with MIR too. I am okay with just dropping the assert. |
What was the purpose of the assert? Maybe remove it instead, or insert that the instruction has non-void type or something?