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

Shengchen Kan via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 19:20:56 PDT 2024


================
@@ -0,0 +1,40 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -mtriple=x86_64 -mattr=+cf -O1 -S | FileCheck %s
----------------
KanRobert wrote:

That would make the test duplicated as `@basic` in hoist-loads-stores-with-cf.ll.

As we comment at line 4, we check `masked.load/store.v1` does not fall back to `branch+load/store` in the following passes. So we need the whole pipeline.

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


More information about the llvm-commits mailing list