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
- rG LLVM Github Monorepo
- Build Status
Buildable 34985 Build 34984: arc lint + arc unit
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 | while running check-all after your patch I am getting this lit test failed. |
while running check-all after your patch I am getting this lit test failed.
I am getting string
attributes #0 = { nofree nounwind }
could you please check this against tot?