This is patch is part of a series to introduce an Alignment type.
See this thread for context: http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html
See this patch for the introduction of the type: https://reviews.llvm.org/D64790
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | ||
|---|---|---|
| 246–247 | you can now remove all the else if statements: if (const StoreInst *SI = dyn_cast<StoreInst>(&I)) {
return ...;
}
if (...) {
return ...;
} | |
you can now remove all the else if statements:
if (const StoreInst *SI = dyn_cast<StoreInst>(&I)) { return ...; } if (...) { return ...; }