[llvm] aafe934 - [hexagon] Require "asserts" build for widen-not-load test (#117414)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 24 07:35:43 PST 2024


Author: Brian Cain
Date: 2024-11-24T09:35:40-06:00
New Revision: aafe934c0c0c1d274099228e7e47669770235284

URL: https://github.com/llvm/llvm-project/commit/aafe934c0c0c1d274099228e7e47669770235284
DIFF: https://github.com/llvm/llvm-project/commit/aafe934c0c0c1d274099228e7e47669770235284.diff

LOG: [hexagon] Require "asserts" build for widen-not-load test (#117414)

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
      |                ^
      | <stdin>: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'
      | ^
      | <stdin>: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'
      |                                   ^

Added: 
    

Modified: 
    llvm/test/CodeGen/Hexagon/widen-not-load.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/Hexagon/widen-not-load.ll b/llvm/test/CodeGen/Hexagon/widen-not-load.ll
index d8d658342616c3..5bf8b57054a915 100644
--- a/llvm/test/CodeGen/Hexagon/widen-not-load.ll
+++ b/llvm/test/CodeGen/Hexagon/widen-not-load.ll
@@ -1,7 +1,9 @@
 ; Test that double word post increment load is not generated.
 ; REQUIRES: asserts
 
-; 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() {


        


More information about the llvm-commits mailing list