Skip to content

Commit

Permalink
[hexagon] Require "asserts" build for widen-not-load test (llvm#117414)
Browse files Browse the repository at this point in the history
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'
      |                                   ^
  • Loading branch information
androm3da authored Nov 24, 2024
1 parent 63d9ef5 commit aafe934
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion llvm/test/CodeGen/Hexagon/widen-not-load.ll
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit aafe934

Please sign in to comment.