[llvm] [SimplifyCFG] Deduce paths unreachable if they cause div/rem UB (PR #109008)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 18 09:20:23 PDT 2024


================
@@ -918,6 +918,280 @@ bb5:                                              ; preds = %bb3, %bb
   ret i32 %i7
 }
 
+declare void @side.effect()
+declare i8 @get.i8()
+
+define i8 @udiv_by_zero(i8 noundef %x, i8 noundef %i, i8 noundef %v) {
----------------
goldsteinn wrote:

No

https://github.com/llvm/llvm-project/pull/109008


More information about the llvm-commits mailing list