-
Notifications
You must be signed in to change notification settings - Fork 12.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[hexagon] Require "asserts" build for widen-not-load test #117414
base: main
Are you sure you want to change the base?
Conversation
This issue was introduced in #116330 |
@llvm/pr-subscribers-backend-hexagon Author: Brian Cain (androm3da) ChangesThis test fails on the
Full diff: https://github.com/llvm/llvm-project/pull/117414.diff 1 Files Affected:
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() {
|
; 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The second RUN line is missing a colon
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, thanks for catching it.
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' | ^
b47d94e
to
0a2b0f7
Compare
This test fails on the
clang-x64-windows-msvc
builder: