[llvm] Add code to disable scalar PRE in GVN (PR #190386)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 12:39:19 PDT 2026
================
@@ -0,0 +1,38 @@
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
+; RUN: opt -enable-scalar-pre=false -enable-pre -passes=gvn -S < %s | FileCheck %s --check-prefixes=CHECK
----------------
boomanaiden154 wrote:
If we're adding machinery to parse pass options, we should also have a test that passes the correct options through a `-passes` flag.
https://github.com/llvm/llvm-project/pull/190386
More information about the llvm-commits
mailing list