[LLVMbugs] [Bug 20057] New: Assertion failied in llvm::SUnit* llvm::SchedBoundary::pickOnlyChoice(): Assertion `i <= (HazardRec->getMaxLookAhead() + MaxObservedStall) && "permanent hazard"'
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 16 13:38:18 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20057
Bug ID: 20057
Summary: Assertion failied in llvm::SUnit*
llvm::SchedBoundary::pickOnlyChoice(): Assertion `i <=
(HazardRec->getMaxLookAhead() + MaxObservedStall) &&
"permanent hazard"'
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: llc
Assignee: unassignedbugs at nondot.org
Reporter: apazos at codeaurora.org
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Hi Andrew,
After the new code scheduler changes went in last week in the community trunk
we see new assertions when compiling SPEC2000 mesa and SPEC2006 povray
benchmarks with flags -O2 or -O3 and -mcpu=cortex-a53 for aarch64 target.
Assertion failed in llvm/lib/CodeGen/MachineScheduler.cpp:2056: llvm::SUnit*
llvm::SchedBoundary::pickOnlyChoice(): Assertion `i <=
(HazardRec->getMaxLookAhead() + MaxObservedStall) && "permanent hazard"'
failed.
Here are the clang command lines. Let me know if you can reproduce the issues.
Povray:
clang-3.5 -cc1 -triple aarch64--linux-gnu -emit-obj -disable-free
-main-file-name vbuffer.cpp -mrelocation-model static -mdisable-fp-elim
-menable-no-infs -menable-no-nans -menable-unsafe-fp-math -ffp-contract=fast
-ffast-math -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu
cortex-a53 -target-feature +neon -target-abi aapcs -target-cpu cortex-a53
-coverage-file
/prj/llvm-arm/scratch2/hexbuild/hexframe/30262/output/config_test_aarch64_ofast/cortex-a53/benchmark/spec2006/povray/benchspec/CPU2006/453.povray/build/build_base_arm_linux.0000/vbuffer.o
-resource-dir
/prj/llvm-arm/home/nightly/install/community-mainline/cross/2014-06-15/bin/../lib/clang/3.5.0
-D SPEC_CPU -D NDEBUG -D __arm__ -D __extern_always_inline=inline -D
SPEC_CPU_LP64 -I /prj/llvm-arm/home/rajav/lib_sources/includes -isysroot
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc
-internal-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/lib/gcc/aarch64-linux-gnu/4.9.0/../../../../aarch64-linux-gnu/include/c++/4.9.0
-internal-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/lib/gcc/aarch64-linux-gnu/4.9.0/../../../../aarch64-linux-gnu/include/c++/4.9.0/aarch64-linux-gnu
-internal-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/lib/gcc/aarch64-linux-gnu/4.9.0/../../../../aarch64-linux-gnu/include/c++/4.9.0/backward
-internal-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/usr/local/include
-internal-isystem
/prj/llvm-arm/home/nightly/install/community-mainline/cross/2014-06-15/bin/../lib/clang/3.5.0/include
-internal-externc-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/include
-internal-externc-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/usr/include
-Ofast -fdeprecated-macro -fdebug-compilation-dir
/prj/llvm-arm/scratch2/hexbuild/hexframe/30262/output/config_test_aarch64_ofast/cortex-a53/benchmark/spec2006/povray/benchspec/CPU2006/453.povray/build/build_base_arm_linux.0000
-ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-signed-char
-fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-vectorize-loops -vectorize-slp -o vbuffer.o -x c++ vbuffer.cpp
Mesa:
clang-3.5 -cc1 -triple aarch64--linux-gnu -emit-obj -disable-free
-main-file-name matrix.c -mrelocation-model static -mdisable-fp-elim
-fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu
cortex-a53 -target-feature +neon -target-abi aapcs -target-cpu cortex-a53 -g
-coverage-file
/prj/llvm-arm/scratch2/hexbuild/hexframe/30262/output/config_test_aarch64_o2_g/cortex-a53/benchmark/spec2000/mesa/benchspec/CFP2000/177.mesa/run/00000001/matrix.o
-resource-dir
/prj/llvm-arm/home/nightly/install/community-mainline/cross/2014-06-15/bin/../lib/clang/3.5.0
-D __arm__ -D __extern_always_inline=inline -I
/prj/llvm-arm/home/rajav/lib_sources/includes -isysroot
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc
-internal-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/usr/local/include
-internal-isystem
/prj/llvm-arm/home/nightly/install/community-mainline/cross/2014-06-15/bin/../lib/clang/3.5.0/include
-internal-externc-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/include
-internal-externc-isystem
/prj/llvm-arm/home/common/build_tools/gcc-fsf-glibc-aarch64-linux-gnu-4.9.0/aarch64-linux-gnu/libc/usr/include
-O2 -fdebug-compilation-dir
/prj/llvm-arm/scratch2/hexbuild/hexframe/30262/output/config_test_aarch64_o2_g/cortex-a53/benchmark/spec2000/mesa/benchspec/CFP2000/177.mesa/run/00000001
-ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-signed-char
-fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o
matrix.o -x c matrix.c
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140616/4f800a20/attachment.html>
More information about the llvm-bugs
mailing list