[PATCH] D32614: [GVNHoist] Fix: PR32821, add check for anticipability in case of infinite loops

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 18 21:29:27 PDT 2017


davide added a comment.

Drive-by comment.



================
Comment at: llvm/test/Transforms/GVNHoist/infinite-loop-indirect.ll:287-290
+attributes #0 = { noinline uwtable "correctly-rounded-divide-sqrt-fp-math"="false" "disable-tail-calls"="false" "less-precise-fpmad"="false" "no-frame-pointer-elim"="true" "no-frame-pointer-elim-non-leaf" "no-infs-fp-math"="false" "no-jump-tables"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="false" "no-trapping-math"="false" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+fxsr,+mmx,+sse,+sse2,+x87" "unsafe-fp-math"="false" "use-soft-float"="false" }
+attributes #1 = { nounwind readnone }
+attributes #2 = { nounwind }
+attributes #3 = { noreturn }
----------------
These tests can be reduced quite a bit, IMHO (for example you don't need the attributes).


https://reviews.llvm.org/D32614





More information about the llvm-commits mailing list