Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Event Timeline
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 231–233 | All of these calls can fail, you have to check the result. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 275 | I can't recall, but I saw somewhere(may LLVM coding style). Not to uses braces for if if there is only one executable statement. Don't have a strong opinion on this, but it would be better if someone can clarify which style to follow. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 275 | You should remove the braces for trivial if statement. So like this it's fine. | |
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 275 | ||
| mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp | ||
|---|---|---|
| 231–233 | Sure thing | |
All of these calls can fail, you have to check the result.