Skip to content

Commit b47d94e

Browse files
committed
[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 | ^ | <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' | ^
1 parent 85601fd commit b47d94e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
; Test that double word post increment load is not generated.
22

3-
; RUN: llc -march=hexagon -O2 -debug-only=hexagon-load-store-widening %s -o 2>&1 - | FileCheck %s
3+
; REQUIRES: asserts
4+
; RUN: llc -march=hexagon -O2 -debug-only=hexagon-load-store-widening \
5+
; RUN %s -o 2>&1 - | FileCheck %s
46

57
; Loads with positive invalid postinc is not widened
68
define ptr @test1() {

0 commit comments

Comments
 (0)