This revision adds the inalloca attribute to the alloca operation in the LLVMIR dialect.
It also adds tests for import and export.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/test/Dialect/LLVMIR/roundtrip.mlir | ||
---|---|---|
329–332 | nit: you could drop the new test cases and add the inalloca attribute to the last test case right before the newly introduced code. | |
mlir/test/Target/LLVMIR/Import/instructions.ll | ||
349 | nit: having one test case with inalloca should be sufficient. | |
mlir/test/Target/LLVMIR/llvmir.mlir | ||
1359 | same here except you are testing something different? |
mlir/test/Target/LLVMIR/llvmir.mlir | ||
---|---|---|
1359 | I'm testing that the attribute dictionary still works with inalloca, but yeah I'll just drop that. |
clang-format not found in user’s local PATH; not linting file.