[llvm] [LV] fix logical error in trunc cost (PR #91136)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri May 24 08:28:01 PDT 2024


================
@@ -1,7 +1,139 @@
-; REQUIRES: asserts
-; RUN: not --crash opt -passes=loop-vectorize -mtriple=s390x -mcpu=z14 -disable-output %s
+; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
+; RUN: opt -passes=loop-vectorize,dce,simplifycfg -mtriple=s390x -mcpu=z14 -S %s | FileCheck %s
----------------
fhahn wrote:

We usually try to avoid having the tests depend on other passes, to avoid them breaking if other passes change.

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


More information about the llvm-commits mailing list