Fordbids to express pointer via the !emitc.opaque type. Point the user
to use the !emitc.ptr type instead.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/EmitC/IR/EmitC.cpp | ||
---|---|---|
225 | Should this only be on the outer most? E.g., this would flag a Small vector<int*, 4> too |
Comment Actions
Updating D124002: [mlir][emitc] Disallow !emitc.opaque pointers
Only disallow pointers in outer type
mlir/lib/Dialect/EmitC/IR/EmitC.cpp | ||
---|---|---|
225 | Excellent fetch! Thanks for the hint, I've adopted accordingly and also added a test for a the valid "SmalVector<int*, 4>" case. |
Should this only be on the outer most? E.g., this would flag a Small vector<int*, 4> too