From 0a2b0f7337d4df22263b7ee490be90e9b19871d9 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Fri, 22 Nov 2024 21:12:05 -0800 Subject: [PATCH] [hexagon] Require "asserts" build for widen-not-load test This test fails on the `clang-x64-windows-msvc` builder: .---command stderr------------ | C:\b\slave\clang-x64-windows-msvc\llvm-project\llvm\test\CodeGen\Hexagon\widen-not-load.ll:7:16: error: CHECK-LABEL: expected string not found in input | ; CHECK-LABEL: test1 | ^ | :1:1: note: scanning from here | llc.exe: Unknown command line argument '-debug-only=hexagon-load-store-widening'. Try: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe --help' | ^ | :1:35: note: possible intended match here | llc.exe: Unknown command line argument '-debug-only=hexagon-load-store-widening'. Try: 'c:\b\slave\clang-x64-windows-msvc\build\stage1\bin\llc.exe --help' | ^ --- llvm/test/CodeGen/Hexagon/widen-not-load.ll | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/test/CodeGen/Hexagon/widen-not-load.ll b/llvm/test/CodeGen/Hexagon/widen-not-load.ll index 6206a0a5367e4..9e59fa44cb61a 100644 --- a/llvm/test/CodeGen/Hexagon/widen-not-load.ll +++ b/llvm/test/CodeGen/Hexagon/widen-not-load.ll @@ -1,6 +1,8 @@ ; Test that double word post increment load is not generated. -; RUN: llc -march=hexagon -O2 -debug-only=hexagon-load-store-widening %s -o 2>&1 - | FileCheck %s +; REQUIRES: asserts +; RUN: llc -march=hexagon -O2 -debug-only=hexagon-load-store-widening \ +; RUN: %s -o 2>&1 - | FileCheck %s ; Loads with positive invalid postinc is not widened define ptr @test1() {