[llvm] [hexagon] Require "asserts" build for widen-not-load test (PR #117414)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 21:17:16 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-hexagon
Author: Brian Cain (androm3da)
<details>
<summary>Changes</summary>
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'
| ^
---
Full diff: https://github.com/llvm/llvm-project/pull/117414.diff
1 Files Affected:
- (modified) llvm/test/CodeGen/Hexagon/widen-not-load.ll (+3-1)
``````````diff
diff --git a/llvm/test/CodeGen/Hexagon/widen-not-load.ll b/llvm/test/CodeGen/Hexagon/widen-not-load.ll
index 6206a0a5367e49..0ecdd8a3b78351 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() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/117414
More information about the llvm-commits
mailing list