Context: I needed this for https://github.com/google/iree/pull/8474 . I found that TSan instrumentation expects vector sizes to be <= 16, and in my project (IREE) we have tests with higher vector sizes. That left some test functions uninstrumented, resulting in crashes as instrumented code called into them.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Context: I needed this for https://github.com/google/iree/pull/8474 . I found that TSan instrumentation expects vector sizes to be <= 16, and in my project (IREE) we have tests with higher vector sizes. That left some tests function uninstrumented, resulting in crashes as instrumented called into them.
llvm/lib/Transforms/Scalar/Scalarizer.cpp | ||
---|---|---|
209 | With the current patch you won't be able to override any pass options setup by the pass manager etc. |
llvm/lib/Transforms/Scalar/Scalarizer.cpp | ||
---|---|---|
209 | Thanks, that makes sense. Code updated. |
nit: This pass use CamelCase for variable names.