[llvm] r366399 - [RISCV] Re-land r366331 d RISCV to LLVM_ALL_TARGETS

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 18 12:10:21 PDT 2019


On Thu, 18 Jul 2019 at 19:58, Matt Morehouse <mascasa at google.com> wrote:
>
> Hi Alex,
>
> It looks like this commit enabled a test that is broken:  http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/33626
>
> Please take a look:
>
> FAIL: LLVM :: MC/RISCV/rv32i-aliases-invalid.s (24501 of 32578)
> ******************** TEST 'LLVM :: MC/RISCV/rv32i-aliases-invalid.s' FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   not /b/sanitizer-x86_64-linux-fast/build/llvm_build_ubsan/bin/llvm-mc /b/sanitizer-x86_64-linux-fast/build/llvm/test/MC/RISCV/rv32i-aliases-invalid.s -triple=riscv32 -riscv-no-aliases 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
> : 'RUN: at line 2';   not /b/sanitizer-x86_64-linux-fast/build/llvm_build_ubsan/bin/llvm-mc /b/sanitizer-x86_64-linux-fast/build/llvm/test/MC/RISCV/rv32i-aliases-invalid.s -triple=riscv32 2>&1 | /b/sanitizer-x86_64-linux-fast/build/llvm_build_ubsan/bin/FileCheck /b/sanitizer-x86_64-linux-fast/build/llvm/test/MC/RISCV/rv32i-aliases-invalid.s
> --
> Exit Code: 1
>
> Command Output (stderr):
> --
> /b/sanitizer-x86_64-linux-fast/build/llvm/test/MC/RISCV/rv32i-aliases-invalid.s:9:21: error: CHECK: expected string not found in input
> li t4, foo # CHECK: :[[@LINE]]:8: error: immediate must be an integer in the range [-2147483648, 4294967295]
>                     ^
> <stdin>:5:1: note: scanning from here
> li x0, -2147483649 # CHECK: :[[@LINE]]:8: error: immediate must be an integer in the range [-2147483648, 4294967295]
> ^
> <stdin>:5:1: note: uses undefined variable(s): "@LINE"
> li x0, -2147483649 # CHECK: :[[@LINE]]:8: error: immediate must be an integer in the range [-2147483648, 4294967295]
> ^
> <stdin>:5:38: note: possible intended match here
> li x0, -2147483649 # CHECK: :[[@LINE]]:8: error: immediate must be an integer in the range [-2147483648, 4294967295]
>                                      ^

Thanks for flagging, I will investigate. I note that
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux doesn't show
this issue. I'm struggling to reproduce it so far.

Best,

Alex


More information about the llvm-commits mailing list