There are scenarios where mutually recursive functions may cause the SCC
to contain both read only and write only functions. This removes an
assertion when adding read attributes which caused a crash with a the
provided test case, and instead just doesn't add the attributes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks. I wanted to land it for you, but since I dont use monorepo now, it does not apply well for me.
Maybe @jdoerfert could land it for you?
llvm/test/Transforms/FunctionAttrs/read-write-scc.ll | ||
---|---|---|
20 ↗ | (On Diff #209786) | while running check-all after your patch I am getting this lit test failed. |