This patch adds tests for functionality that is to be implemented in D110235.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
LGTM, thanks! A few additional suggestions inline.
llvm/test/Transforms/LoopVectorize/reduction-with-invariant-store.ll | ||
---|---|---|
2 | Requiring other passes makes the test more fragile. At least in the current version, there should be no need to require extra cleanup passes. Also, it might be good to use the new pass manager syntax (-passes="") | |
10 | FWIW I don't think the pseudo code here adds much, especially because there is a textual comment. and the IR is very compact. Just a personal preference/opinion though. | |
319 | might be better to just drop indvars. | |
329 | nit: might be slightly simpler to call this exit. | |
335 | stray new line. |
Thanks for the updates. Do you have commit access? if not, I can land this on your behalf. In that case, please provide name+ email to use as author in the commit.
Requiring other passes makes the test more fragile. At least in the current version, there should be no need to require extra cleanup passes.
Also, it might be good to use the new pass manager syntax (-passes="")