[llvm] [Transforms] Resolve FIXME: Pick the smallest legal type that fits (PR #79158)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 14:37:57 PST 2024


================
@@ -1,5 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt < %s -passes='float2int' -S | FileCheck %s
+; check-prefixes=CHECK,MULTIPLE
+; RUN: opt < %s -passes='float2int' -S | FileCheck %s -check-prefixes=NONE
+; RUN: opt < %s -passes='float2int' -S --data-layout="n64" | FileCheck %s -check-prefixes=ONLY64
+; RUN: opt < %s -passes='float2int' -S --data-layout="n8:16:32:64"| FileCheck %s -check-prefixes=MULTIPLE
----------------
jrtc27 wrote:

Don't use -check-prefixes for a single prefix

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


More information about the llvm-commits mailing list