New issue
Advanced search Search tips

Issue 623560 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

ClangToTMac (dbg): Assertion failed: (VT.isVector() && !Operand.getValueType().isVector() && (VT.getVectorElementType() == Operand.getValueType() || (VT.getVectorElementType().isInteger() && Operand.getValueType().isInteger() && VT.getVectorElementType().bitsLE(Operand.getValueType()))) && "Illegal SCALAR_TO_VECTOR node!")

Project Member Reported by thakis@chromium.org, Jun 27 2016

Issue description

https://build.chromium.org/p/chromium.fyi/builders/ClangToTMac%20%28dbg%29/builds/5572/steps/compile/logs/stdio

FAILED: obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o 
../../third_party/llvm-build/Release+Asserts/bin/clang -MMD -MF obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o.d -DV8_DEPRECATION_WARNINGS -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=273874 -DCOMPONENT_BUILD -DUSE_LIBJPEG_TURBO=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DUSE_EXTERNAL_POPUP_MENU -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DUSE_BROWSER_SPELLCHECKER=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_LIBPCI=1 -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -Igen -I../../third_party/libvpx/source/config/mac/x64 -I../../third_party/libvpx/source/libvpx -isysroot /Applications/Xcode7.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -O0 -fvisibility=hidden -Werror -mmacosx-version-min=10.7 -arch x86_64 -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wpartial-availability -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-unused-variable -std=c99 -fcolor-diagnostics -fno-strict-aliasing -msse2 -fstack-protector-strong  -c ../../third_party/libvpx/source/libvpx/vpx_dsp/x86/loopfilter_sse2.c -o obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o
Assertion failed: (VT.isVector() && !Operand.getValueType().isVector() && (VT.getVectorElementType() == Operand.getValueType() || (VT.getVectorElementType().isInteger() && Operand.getValueType().isInteger() && VT.getVectorElementType().bitsLE(Operand.getValueType()))) && "Illegal SCALAR_TO_VECTOR node!"), function getNode, file /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/third_party/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 3209.
Stack dump:
0.	Program arguments: /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/third_party/llvm-build/Release+Asserts/bin/clang-3.9 -cc1 -triple x86_64-apple-macosx10.7.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -main-file-name loopfilter_sse2.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2 -target-feature +sse2 -target-linker-version 253.3 -dwarf-column-info -debugger-tuning=lldb -coverage-file /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/out/Debug/obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o -resource-dir /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.9.0 -dependency-file obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o.d -MT obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o -isysroot /Applications/Xcode7.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -D V8_DEPRECATION_WARNINGS -D __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -D CHROMIUM_BUILD -D CR_CLANG_REVISION=273874 -D COMPONENT_BUILD -D USE_LIBJPEG_TURBO=1 -D ENABLE_WEBRTC=1 -D ENABLE_MEDIA_ROUTER=1 -D ENABLE_PEPPER_CDMS -D ENABLE_NOTIFICATIONS -D USE_EXTERNAL_POPUP_MENU -D FIELDTRIAL_TESTING_ENABLED -D ENABLE_TASK_MANAGER=1 -D ENABLE_EXTENSIONS=1 -D ENABLE_PDF=1 -D ENABLE_PLUGIN_INSTALLATION=1 -D ENABLE_PLUGINS=1 -D ENABLE_SESSION_SERVICE=1 -D ENABLE_THEMES=1 -D ENABLE_PRINTING=1 -D ENABLE_BASIC_PRINTING=1 -D ENABLE_PRINT_PREVIEW=1 -D ENABLE_SPELLCHECK=1 -D USE_BROWSER_SPELLCHECKER=1 -D ENABLE_CAPTIVE_PORTAL_DETECTION=1 -D ENABLE_SUPERVISED_USERS=1 -D ENABLE_SERVICE_DISCOVERY=1 -D V8_USE_EXTERNAL_STARTUP_DATA -D FULL_SAFE_BROWSING -D SAFE_BROWSING_CSD -D SAFE_BROWSING_DB_LOCAL -D USE_LIBPCI=1 -D DYNAMIC_ANNOTATIONS_ENABLED=1 -D WTF_USE_DYNAMIC_ANNOTATIONS=1 -I gen -I ../../third_party/libvpx/source/config/mac/x64 -I ../../third_party/libvpx/source/libvpx -O0 -Werror -Wall -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wpartial-availability -Wno-conversion -Wno-parentheses-equality -Wno-unused-function -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-shift-negative-value -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-unused-variable -std=c99 -fdebug-compilation-dir /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/out/Debug -ferror-limit 19 -fmessage-length 0 -fvisibility hidden -stack-protector 2 -fblocks -fobjc-runtime=macosx-10.7.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o obj/third_party/libvpx/source/libvpx/vpx_dsp/x86/libvpx_intrinsics_sse2.loopfilter_sse2.o -x c ../../third_party/libvpx/source/libvpx/vpx_dsp/x86/loopfilter_sse2.c 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module '../../third_party/libvpx/source/libvpx/vpx_dsp/x86/loopfilter_sse2.c'.
4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@vpx_lpf_horizontal_edge_8_sse2'
clang-3.9: error: unable to execute command: Abort trap: 6
clang-3.9: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.9.0 (trunk 273874)
Target: x86_64-apple-darwin14.5.0
Thread model: posix
InstalledDir: /b/cache/chromium/builder_cache/checkouts/ClangToTMac__dbg_/src/out/Debug/../../third_party/llvm-build/Release+Asserts/bin
clang-3.9: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.9: note: diagnostic msg: 
********************

good 273844 bad 273857
 

Comment 1 by thakis@chromium.org, Jun 27 2016

probably r273848?

Comment 2 by thakis@chromium.org, Jun 27 2016

Cc: h...@chromium.org
+current tot sheriff fyi (i thought i was tot sheriff this week, so i started looking at this already...will keep looking)

Comment 3 by thakis@chromium.org, Jun 27 2016

repro:

thakis-macpro:Release thakis$ cat repro.c
#include <emmintrin.h>

void vpx_lpf_horizontal_edge_8_sse2(unsigned char *s, int p) {
  __m128i q4p4;

  q4p4 = _mm_loadl_epi64((__m128i *)(s - 5 * p));
  q4p4 = _mm_castps_si128(_mm_loadh_pi(_mm_castsi128_ps(q4p4),
                                       (__m64 *)(s + 4 * p)));
}
thakis-macpro:Release thakis$ ~/src/llvm-build/bin/clang -isysroot $(xcrun -show-sdk-path) -c repro.c
Assertion failed: (VT.isVector() && !Operand.getValueType().isVector() && (VT.getVectorElementType() == Operand.getValueType() || (VT.getVectorElementType().isInteger() && Operand.getValueType().isInteger() && VT.getVectorElementType().bitsLE(Operand.getValueType()))) && "Illegal SCALAR_TO_VECTOR node!"), function getNode, file /Users/thakis/src/llvm-rw/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 3209.
Stack dump:
0.	Program arguments: /Users/thakis/src/llvm-build/bin/clang-3.8 -cc1 -triple x86_64-apple-macosx10.11.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -main-file-name repro.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 264.3.101 -dwarf-column-info -debugger-tuning=lldb -coverage-file /Users/thakis/src/chrome/src/out/Release/repro.c -resource-dir /Users/thakis/src/llvm-build/bin/../lib/clang/3.9.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -fdebug-compilation-dir /Users/thakis/src/chrome/src/out/Release -ferror-limit 19 -fmessage-length 167 -stack-protector 1 -fblocks -fobjc-runtime=macosx-10.11.0 -fencode-extended-block-signature -fmax-type-align=16 -fdiagnostics-show-option -fcolor-diagnostics -o repro.o -x c repro.c 
1.	<eof> parser at end of file
2.	Code generation
3.	Running pass 'Function Pass Manager' on module 'repro.c'.
4.	Running pass 'X86 DAG->DAG Instruction Selection' on function '@vpx_lpf_horizontal_edge_8_sse2'
clang-3.8: error: unable to execute command: Abort trap: 6
clang-3.8: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.9.0 (trunk 273875)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir: /Users/thakis/src/llvm-build/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-3.8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/repro-d51452.c
clang-3.8: note: diagnostic msg: /var/folders/8l/9f5fzjf51blfh76hsyzp3fvm001mqv/T/repro-d51452.sh
clang-3.8: note: diagnostic msg: 


Comment 5 by thakis@chromium.org, Jun 27 2016

Status: Fixed (was: Started)
reverted in upstream r273879, should cycle green.

Sign in to add a comment