Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/Analysis/VectorFunctionABITest.cpp | ||
---|---|---|
12 | For the definition of parseAssemblyString, yes. | |
634 | "borrowed" from other unit tests, so I can only take credit for finding it. I do think the unique_ptr is needed: parseAssemblyString passes ownership of the Module to us, so it'd be rude to drop it on the floor. |
Thank you @sanwou01 ! LGTM, with a nit: please double check those header included are needed before submitting.
Cheers,
Francesco
llvm/unittests/Analysis/VectorFunctionABITest.cpp | ||
---|---|---|
12 | Are you sure? parseAssemblyString is used on line 26, it works even without this include line. Can you double check this before submitting? Same for <memory> | |
634 | :facepalm:, yes, I used unique_ptr too in the tests class VFABIParserTest. My bad. |
Is this needed?