https://llvm.org/bugs/show_bug.cgi?id=26658
Bug ID: 26658 Summary: Clang confuses backend... somehow. Product: clang Version: 3.7 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: -New Bugs Assignee: unassignedclangb...@nondot.org Reporter: chriskitch...@linux.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 15918 --> https://llvm.org/bugs/attachment.cgi?id=15918&action=edit Reduced testcase Process the given file like so: "/usr/bin/clang-3.7" "-cc1" -save-temps "-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-disable-free" "-disable-llvm-verifier" "-main-file-name" "FeaturePyramid.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-fmath-errno" "-fno-signed-zeros" "-freciprocal-math" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-momit-leaf-frame-pointer" "-g" "-dwarf-column-info" "-D" "ENABLE_DBG_ASSERTIONS" "-D" "c3_EXPORTS" "-D" "SENTRY" "-D" "NDEBUG" "-O3" "-Wall" "-Wpedantic" "-Wextra" "-Wno-sign-compare" "-Wall" "-Wpedantic" "-Wextra" "-Wno-sign-compare" "-Wall" "-Wpedantic" "-Wextra" "-Wno-sign-compare" "-std=c++11" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "142" "-mstackrealign" "-fobjc-runtime=gcc" "-fcxx-exceptions" "-fexceptions" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-vectorize-loops" "-vectorize-slp" "-vectorize-slp-aggressive" "-x" "c++" "FeaturePyramid-827290.cpp" Produces: fatal error: error in backend: Cannot select: 0x3134990: i32 = any_extend 0x3135be8 [ORD=71] [ID=74]FeaturePyramid-827290.cpp:30:11 0x3135be8: i64 = extract_vector_elt 0x31323a8, 0x3101948 [ORD=71] [ID=71]FeaturePyramid-827290.cpp:30:11 0x31323a8: v2i64 = bitcast 0x3102160 [ORD=71] [ID=67]FeaturePyramid-827290.cpp:30:11 0x3102160: v4i32 = X86ISD::PSHUFD 0x31372e8, 0x31343c8 [ORD=71] [ID=63]FeaturePyramid-827290.cpp:30:11 0x31372e8: v4i32 = X86ISD::PSHUFD 0x3132280, 0x3133858 [ORD=71] [ID=59]FeaturePyramid-827290.cpp:30:11 0x3132280: v4i32 = X86ISD::CMPP 0x312f020, 0x3134d08, 0x3133f48 [ORD=71] [ID=55]FeaturePyramid-827290.cpp:30:11 0x312f020: v4f32 = fsub 0x3128058, 0x31274c8 [ORD=62] [ID=51]FeaturePyramid-827290.cpp:20:15 0x3128058: v4f32 = fsub 0x3127f30, 0x31274c8 [ORD=57] [ID=48]FeaturePyramid-827290.cpp:20:15 0x3127f30: v4f32 = fsub 0x3132bc0, 0x31274c8 [ORD=52] [ID=45]FeaturePyramid-827290.cpp:20:15 0x3132bc0: v4f32 = X86ISD::UNPCKL 0x312e240, 0x312e5b8 [ORD=51] [ID=40] 0x31274c8: v4f32 = undef [ID=14] 0x31274c8: v4f32 = undef [ID=14] 0x31274c8: v4f32 = undef [ID=14] 0x3134d08: v4f32 = bitcast 0x3131710 [ORD=74] [ID=41] 0x3131710: v4i32 = BUILD_VECTOR 0x3131f28, 0x3131f28, 0x3131f28, 0x3131f28 [ORD=74] [ID=36] 0x3131f28: i32 = Constant<0> [ID=26] 0x3131f28: i32 = Constant<0> [ID=26] 0x3131f28: i32 = Constant<0> [ID=26] 0x3131f28: i32 = Constant<0> [ID=26] 0x3133f48: i8 = Constant<4> [ID=17]FeaturePyramid-827290.cpp:30:11 0x3133858: i8 = Constant<-44> [ID=24]FeaturePyramid-827290.cpp:30:11 0x31343c8: i8 = Constant<78> [ID=30]FeaturePyramid-827290.cpp:30:11 0x3101948: i64 = Constant<0> [ID=8] In function: _Z19resizeBilinearFloatI3VecIfLm3EEEv3MatIT_E Apologies for the lack of much in the way of actual investigation. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs