[llvm] [X86][SimplifyCFG] Support hoisting load/store with conditional faulting (PR #96878)

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 28 00:05:57 PDT 2024


================
@@ -0,0 +1,460 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
----------------
KanRobert wrote:

Test (`load_from_gep`) was added.  `arrayidx` is defined in the successor and not a result of load, and we don't hoist the `load` to avoid recursively check the operands.

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


More information about the llvm-commits mailing list