[clang] [llvm] [LICM] Sink unused l-invariant loads in preheader. (PR #157559)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 29 04:16:54 PDT 2025


================
@@ -0,0 +1,187 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
+; RUN: opt < %s -passes=licm -verify-memoryssa -S | FileCheck %s
+target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
+target triple = "i386-apple-darwin10.0"
----------------
nikic wrote:

Omit the triple if it's not needed. Otherwise the test may need `REQUIRES`.

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


More information about the cfe-commits mailing list