{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/26398","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/26398/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/26398/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/26398/events","html_url":"https://github.com/JuliaLang/julia/pull/26398","id":303968095,"number":26398,"title":"[WIP] Bump LLVM version to 6.0.0","user":{"login":"vchuravy","id":145258,"avatar_url":"https://avatars2.githubusercontent.com/u/145258?v=4","gravatar_id":"","url":"https://api.github.com/users/vchuravy","html_url":"https://github.com/vchuravy","followers_url":"https://api.github.com/users/vchuravy/followers","following_url":"https://api.github.com/users/vchuravy/following{/other_user}","gists_url":"https://api.github.com/users/vchuravy/gists{/gist_id}","starred_url":"https://api.github.com/users/vchuravy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchuravy/subscriptions","organizations_url":"https://api.github.com/users/vchuravy/orgs","repos_url":"https://api.github.com/users/vchuravy/repos","events_url":"https://api.github.com/users/vchuravy/events{/privacy}","received_events_url":"https://api.github.com/users/vchuravy/received_events","type":"User","site_admin":false},"labels":[{"id":550946078,"url":"https://api.github.com/repos/JuliaLang/julia/labels/external%20dependencies","name":"external dependencies","color":"A87582","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2018-03-09T20:19:56Z","updated_at":"2018-03-10T21:20:16Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/JuliaLang/julia/pulls/26398","html_url":"https://github.com/JuliaLang/julia/pull/26398","diff_url":"https://github.com/JuliaLang/julia/pull/26398.diff","patch_url":"https://github.com/JuliaLang/julia/pull/26398.patch"},"body":"Viral and Jeff cornered me and asked me how hard it would be to switch to 6.0.0. \r\n\r\nThis is intended as a smoke-screen test to see what CI and more importantly Nanosoldier says.\r\n\r\n- [ ] Forward port LLVM patches:\r\n  - [x] ~ llvm-5.0.0_threads ~ (might no longer be necessary)\r\n  - [ ] llvm-3.9.0_D27296-libssp (upstream PR went stale so we should test without first.)\r\n  - [x] llvm-5.0-NVPTX-addrspaces\r\n- [ ] ARM testing\r\n- [ ] PPC testing\r\n- [ ] GPU testing\r\n- [ ] Windows\r\n- [ ] Nanosoldier\r\n\r\n\r\n###  6.0.0\r\n\r\n```\r\nBase  ────────────────── 76.464808 seconds                 \r\nBase64  ────────────────  3.127560 seconds                 \r\nCRC32c  ────────────────  0.051004 seconds                 \r\nSHA  ───────────────────  0.365380 seconds                 \r\nFileWatching  ──────────  0.268810 seconds                 \r\nUnicode  ───────────────  0.025183 seconds                 \r\nMmap  ──────────────────  0.183732 seconds                 \r\nSerialization  ─────────  1.652668 seconds                 \r\nLibdl  ─────────────────  0.160410 seconds                 \r\nMarkdown  ──────────────  3.160268 seconds                 \r\nLibGit2  ─────────────── 14.052500 seconds                 \r\nLogging  ───────────────  3.085846 seconds                 \r\nSockets  ───────────────  3.448210 seconds                 \r\nPrintf  ────────────────  1.850275 seconds                 \r\nProfile  ───────────────  0.693780 seconds                 \r\nDates  ─────────────────  5.775388 seconds                 \r\nDelimitedFiles  ────────  3.969369 seconds                 \r\nRandom  ──────────────── 10.706404 seconds                 \r\nUUIDs  ─────────────────  1.889006 seconds                 \r\nFuture  ────────────────  0.022085 seconds                 \r\nPkg  ───────────────────  8.691972 seconds                 \r\nLinearAlgebra  ───────── 39.905994 seconds                 \r\nIterativeEigensolvers  ─  3.755822 seconds                 \r\nSparseArrays  ────────── 14.649278 seconds                 \r\nSuiteSparse  ───────────  3.585028 seconds                 \r\nSharedArrays  ────────── 12.941465 seconds                 \r\nDistributed  ───────────  1.774925 seconds                 \r\nTest  ──────────────────  6.042602 seconds                 \r\nREPL  ────────────────── 11.350251 seconds                 \r\nPkg3  ────────────────── 18.842404 seconds                 \r\nStdlibs total  ─────────177.743514 seconds                 \r\nWARNING: SparseArrays.blkdiag is deprecated, use blockdiag instead.                                                   \r\n  likely near sysimg.jl:715                                \r\n/home/vchuravy/julia/base/precompile.jl                    \r\nSysimage built. Summary:                                   \r\nTotal ─────── 279.479692 seconds                           \r\nBase: ───────  76.464808 seconds 27.3597%                  \r\nStdlibs: ──── 177.743514 seconds 63.598%                   \r\nPrecompile: ─  25.267449 seconds 9.04089%                  \r\n```\r\n#### `time -v`:\r\n\r\n```\r\nUser time (seconds): 531.63\r\n        System time (seconds): 5.29\r\n        Percent of CPU this job got: 100%\r\n        Elapsed (wall clock) time (h:mm:ss or m:ss): 8:55.20\r\n        Average shared text size (kbytes): 0\r\n        Average unshared data size (kbytes): 0\r\n        Average stack size (kbytes): 0\r\n        Average total size (kbytes): 0\r\n        Maximum resident set size (kbytes): 2292672\r\n        Average resident set size (kbytes): 0\r\n        Major (requiring I/O) page faults: 0\r\n        Minor (reclaiming a frame) page faults: 2233141\r\n        Voluntary context switches: 42\r\n        Involuntary context switches: 594\r\n        Swaps: 0\r\n        File system inputs: 0\r\n        File system outputs: 340656\r\n        Socket messages sent: 0\r\n        Socket messages received: 0\r\n        Signals delivered: 0\r\n        Page size (bytes): 4096\r\n        Exit status: 0\r\n```\r\n\r\n### 3.9.1\r\n```\r\nBase  ────────────────── 72.322026 seconds\r\nBase64  ────────────────  2.729186 seconds\r\nCRC32c  ────────────────  0.034614 seconds\r\nSHA  ───────────────────  0.363587 seconds\r\nFileWatching  ──────────  0.267717 seconds\r\nUnicode  ───────────────  0.025211 seconds\r\nMmap  ──────────────────  0.180100 seconds\r\nSerialization  ─────────  1.660259 seconds\r\nLibdl  ─────────────────  0.148583 seconds\r\nMarkdown  ──────────────  2.894347 seconds\r\nLibGit2  ─────────────── 12.889084 seconds\r\nLogging  ───────────────  2.859578 seconds\r\nSockets  ───────────────  3.200110 seconds\r\nPrintf  ────────────────  1.714964 seconds\r\nProfile  ───────────────  0.658392 seconds\r\nDates  ─────────────────  5.509282 seconds\r\nDelimitedFiles  ────────  3.658211 seconds\r\nRandom  ──────────────── 10.228097 seconds\r\nUUIDs  ─────────────────  1.660729 seconds\r\nFuture  ────────────────  0.022349 seconds\r\nPkg  ───────────────────  8.261382 seconds\r\nLinearAlgebra  ───────── 39.721122 seconds\r\nIterativeEigensolvers  ─  3.532457 seconds\r\nSparseArrays  ────────── 14.157760 seconds\r\nSuiteSparse  ───────────  3.436138 seconds\r\nSharedArrays  ────────── 12.632652 seconds\r\nDistributed  ───────────  1.634865 seconds\r\nTest  ──────────────────  5.761900 seconds\r\nREPL  ────────────────── 10.515702 seconds\r\nPkg3  ────────────────── 17.505437 seconds\r\nStdlibs total  ─────────169.579216 seconds\r\n/home/vchuravy/julia/base/precompile.jl\r\nSysimage built. Summary:\r\nTotal ─────── 267.523895 seconds \r\nBase: ───────  72.322026 seconds 27.0339%\r\nStdlibs: ──── 169.579216 seconds 63.3884%\r\nPrecompile: ─  25.618957 seconds 9.57632%\r\n```\r\n\r\n##### `time -v`:\r\n```\r\n        User time (seconds): 528.65\r\n        System time (seconds): 5.23\r\n        Percent of CPU this job got: 100%\r\n        Elapsed (wall clock) time (h:mm:ss or m:ss): 8:52.16\r\n        Average shared text size (kbytes): 0\r\n        Average unshared data size (kbytes): 0\r\n        Average stack size (kbytes): 0\r\n        Average total size (kbytes): 0\r\n        Maximum resident set size (kbytes): 2225288\r\n        Average resident set size (kbytes): 0\r\n        Major (requiring I/O) page faults: 0\r\n        Minor (reclaiming a frame) page faults: 2340496\r\n        Voluntary context switches: 42\r\n        Involuntary context switches: 567\r\n        Swaps: 0\r\n        File system inputs: 0\r\n        File system outputs: 331216\r\n        Socket messages sent: 0\r\n        Socket messages received: 0\r\n        Signals delivered: 0\r\n        Page size (bytes): 4096\r\n        Exit status: 0\r\n```\r\n\r\nEdit: GPU testing to the list above by @viralbshah"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/372068103","html_url":"https://github.com/JuliaLang/julia/pull/26398#issuecomment-372068103","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/26398","id":372068103,"user":{"login":"vchuravy","id":145258,"avatar_url":"https://avatars2.githubusercontent.com/u/145258?v=4","gravatar_id":"","url":"https://api.github.com/users/vchuravy","html_url":"https://github.com/vchuravy","followers_url":"https://api.github.com/users/vchuravy/followers","following_url":"https://api.github.com/users/vchuravy/following{/other_user}","gists_url":"https://api.github.com/users/vchuravy/gists{/gist_id}","starred_url":"https://api.github.com/users/vchuravy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vchuravy/subscriptions","organizations_url":"https://api.github.com/users/vchuravy/orgs","repos_url":"https://api.github.com/users/vchuravy/repos","events_url":"https://api.github.com/users/vchuravy/events{/privacy}","received_events_url":"https://api.github.com/users/vchuravy/received_events","type":"User","site_admin":false},"created_at":"2018-03-10T21:20:16Z","updated_at":"2018-03-10T21:20:16Z","author_association":"OWNER","body":"CircleCI is encountering a Codegen issue.\r\n\r\n```\r\njulia-debug: /home/circleci/project/deps/srccache/llvm-6.0.0/lib/Target/X86/X86FastISel.cpp:1793: bool {anonymous}::X86FastISel::X86SelectShift(const llvm::Instruction*): Assertion `!I->getType()->isIntegerTy(8) && \"i8 shifts should be handled by autogenerated table\"' failed.\r\n\r\nsignal (6): Aborted\r\nin expression starting at mpfr.jl:927\r\ngsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)\r\nabort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)\r\nunknown function (ip: 0x7fed84874265)\r\n__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)\r\n_ZN12_GLOBAL__N_111X86FastISel21fastSelectInstructionEPKN4llvm11InstructionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm8FastISel17selectInstructionEPKNS_11InstructionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm16SelectionDAGISel20SelectAllBasicBlocksERKNS_8FunctionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm16SelectionDAGISel20runOnMachineFunctionERNS_15MachineFunctionE.part.1097 at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN12_GLOBAL__N_115X86DAGToDAGISel20runOnMachineFunctionERN4llvm15MachineFunctionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm19MachineFunctionPass13runOnFunctionERNS_8FunctionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\n_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE at /home/circleci/project/usr/bin/../lib/libLLVM-6.0.so (unknown line)\r\noperator() at /home/circleci/project/src/jitlayers.cpp:466\r\naddModule at /home/circleci/project/usr/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h:57\r\naddModule at /home/circleci/project/src/jitlayers.cpp:593\r\njl_add_to_ee at /home/circleci/project/src/jitlayers.cpp:831\r\njl_finalize_function at /home/circleci/project/src/jitlayers.cpp:839\r\ngetAddressForFunction at /home/circleci/project/src/codegen.cpp:1283\r\njl_generate_fptr at /home/circleci/project/src/codegen.cpp:1386\r\njl_compile_method_internal at /home/circleci/project/src/julia_internal.h:370\r\njl_call_method_internal at /home/circleci/project/src/julia_internal.h:398\r\njl_apply_generic at /home/circleci/project/src/gf.c:2098\r\njl_apply at /home/circleci/project/src/julia.h:1528\r\njl_invoke at /home/circleci/project/src/gf.c:55\r\n```\r\n\r\nWin32 is failing during building LLVM\r\n```\r\n/usr/bin/ar: ../libLLVMSupport.a: Error reading CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o: File truncated\r\nmake[8]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/build.make:2878: lib/libLLVMSupport.a] Error 1\r\nmake[8]: *** Deleting file 'lib/libLLVMSupport.a'\r\nmake[7]: *** [CMakeFiles/Makefile2:619: lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2\r\nmake[6]: *** [CMakeFiles/Makefile2:10680: tools/llvm-config/CMakeFiles/llvm-config.dir/rule] Error 2\r\nmake[5]: *** [Makefile:3356: llvm-config] Error 2\r\n```\r\n\r\nWind64 is having a link time issue:\r\n```\r\n/usr/bin/x86_64-w64-mingw32-g++.exe  -m64    -D__USING_SJLJ_EXCEPTIONS__ -D__CRT__NO_INLINE -Wa,-mbig-obj -Werror=date-time -std=gnu++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment  -O2 -DNDEBUG    -shared -o ../../bin/LLVM.dll -Wl,--out-implib,../../lib/libLLVM.dll.a -Wl,--major-image-version,0,--minor-image-version,0 -Wl,--whole-archive CMakeFiles/LLVM.dir/objects.a -Wl,--no-whole-archive @CMakeFiles/LLVM.dir/linklibs.rsp\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo22insertOutlinerPrologueERNS_17MachineBasicBlockERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): multiple definition of `llvm::TargetInstrInfo::insertOutlinerPrologue(llvm::MachineBasicBlock&, llvm::MachineFunction&, llvm::TargetInstrInfo::MachineOutlinerInfo const&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo22insertOutlinerPrologueERNS_17MachineBasicBlockERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo18insertOutlinedCallERNS_6ModuleERNS_17MachineBasicBlockERNS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): multiple definition of `llvm::TargetInstrInfo::insertOutlinedCall(llvm::Module&, llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>&, llvm::MachineFunction&, llvm::TargetInstrInfo::MachineOutlinerInfo const&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo18insertOutlinedCallERNS_6ModuleERNS_17MachineBasicBlockERNS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo22insertOutlinerEpilogueERNS_17MachineBasicBlockERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): multiple definition of `llvm::TargetInstrInfo::insertOutlinerEpilogue(llvm::MachineBasicBlock&, llvm::MachineFunction&, llvm::TargetInstrInfo::MachineOutlinerInfo const&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo22insertOutlinerEpilogueERNS_17MachineBasicBlockERNS_15MachineFunctionERKNS0_19MachineOutlinerInfoE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo16getOutliningTypeERNS_12MachineInstrE+0x0): multiple definition of `llvm::TargetInstrInfo::getOutliningType(llvm::MachineInstr&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo16getOutliningTypeERNS_12MachineInstrE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo27getOutlininingCandidateInfoERSt6vectorISt4pairINS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEES5_ESaIS6_EE+0x0): multiple definition of `llvm::TargetInstrInfo::getOutlininingCandidateInfo(std::vector<std::pair<llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false> >, std::allocator<std::pair<llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false> > > >&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo27getOutlininingCandidateInfoERSt6vectorISt4pairINS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEES5_ESaIS6_EE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo25replaceBranchWithTailCallERNS_17MachineBasicBlockERNS_15SmallVectorImplINS_14MachineOperandEEERKNS_12MachineInstrE+0x0): multiple definition of `llvm::TargetInstrInfo::replaceBranchWithTailCall(llvm::MachineBasicBlock&, llvm::SmallVectorImpl<llvm::MachineOperand>&, llvm::MachineInstr const&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo25replaceBranchWithTailCallERNS_17MachineBasicBlockERNS_15SmallVectorImplINS_14MachineOperandEEERKNS_12MachineInstrE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo19shouldClusterMemOpsERNS_12MachineInstrEjS2_jj+0x0): multiple definition of `llvm::TargetInstrInfo::shouldClusterMemOps(llvm::MachineInstr&, unsigned int, llvm::MachineInstr&, unsigned int, unsigned int) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo19shouldClusterMemOpsERNS_12MachineInstrEjS2_jj+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo20loadRegFromStackSlotERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEEjiPKNS_19TargetRegisterClassEPKNS_18TargetRegisterInfoE+0x0): multiple definition of `llvm::TargetInstrInfo::loadRegFromStackSlot(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, unsigned int, int, llvm::TargetRegisterClass const*, llvm::TargetRegisterInfo const*) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo20loadRegFromStackSlotERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEEjiPKNS_19TargetRegisterClassEPKNS_18TargetRegisterInfoE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo19storeRegToStackSlotERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEEjbiPKNS_19TargetRegisterClassEPKNS_18TargetRegisterInfoE+0x0): multiple definition of `llvm::TargetInstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, unsigned int, bool, int, llvm::TargetRegisterClass const*, llvm::TargetRegisterInfo const*) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo19storeRegToStackSlotERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEEjbiPKNS_19TargetRegisterClassEPKNS_18TargetRegisterInfoE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo11copyPhysRegERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERKNS_8DebugLocEjjb+0x0): multiple definition of `llvm::TargetInstrInfo::copyPhysReg(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&, unsigned int, unsigned int, bool) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo11copyPhysRegERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERKNS_8DebugLocEjjb+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo14optimizeSelectERNS_12MachineInstrERNS_15SmallPtrSetImplIPS1_EEb+0x0): multiple definition of `llvm::TargetInstrInfo::optimizeSelect(llvm::MachineInstr&, llvm::SmallPtrSetImpl<llvm::MachineInstr*>&, bool) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo14optimizeSelectERNS_12MachineInstrERNS_15SmallPtrSetImplIPS1_EEb+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12insertSelectERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERKNS_8DebugLocEjNS_8ArrayRefINS_14MachineOperandEEEjj+0x0): multiple definition of `llvm::TargetInstrInfo::insertSelect(llvm::MachineBasicBlock&, llvm::MachineInstrBundleIterator<llvm::MachineInstr, false>, llvm::DebugLoc const&, unsigned int, llvm::ArrayRef<llvm::MachineOperand>, unsigned int, unsigned int) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12insertSelectERNS_17MachineBasicBlockENS_26MachineInstrBundleIteratorINS_12MachineInstrELb0EEERKNS_8DebugLocEjNS_8ArrayRefINS_14MachineOperandEEEjj+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo15reduceLoopCountERNS_17MachineBasicBlockEPNS_12MachineInstrERS3_RNS_15SmallVectorImplINS_14MachineOperandEEERNS6_IS4_EEjj+0x0): multiple definition of `llvm::TargetInstrInfo::reduceLoopCount(llvm::MachineBasicBlock&, llvm::MachineInstr*, llvm::MachineInstr&, llvm::SmallVectorImpl<llvm::MachineOperand>&, llvm::SmallVectorImpl<llvm::MachineInstr*>&, unsigned int, unsigned int) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo15reduceLoopCountERNS_17MachineBasicBlockEPNS_12MachineInstrERS3_RNS_15SmallVectorImplINS_14MachineOperandEEERNS6_IS4_EEjj+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12insertBranchERNS_17MachineBasicBlockEPS1_S3_NS_8ArrayRefINS_14MachineOperandEEERKNS_8DebugLocEPi+0x0): multiple definition of `llvm::TargetInstrInfo::insertBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock*, llvm::MachineBasicBlock*, llvm::ArrayRef<llvm::MachineOperand>, llvm::DebugLoc const&, int*) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12insertBranchERNS_17MachineBasicBlockEPS1_S3_NS_8ArrayRefINS_14MachineOperandEEERKNS_8DebugLocEPi+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12removeBranchERNS_17MachineBasicBlockEPi+0x0): multiple definition of `llvm::TargetInstrInfo::removeBranch(llvm::MachineBasicBlock&, int*) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo12removeBranchERNS_17MachineBasicBlockEPi+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo20insertIndirectBranchERNS_17MachineBasicBlockES2_RKNS_8DebugLocExPNS_12RegScavengerE+0x0): multiple definition of `llvm::TargetInstrInfo::insertIndirectBranch(llvm::MachineBasicBlock&, llvm::MachineBasicBlock&, llvm::DebugLoc const&, long long, llvm::RegScavenger*) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo20insertIndirectBranchERNS_17MachineBasicBlockES2_RKNS_8DebugLocExPNS_12RegScavengerE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo18getBranchDestBlockERKNS_12MachineInstrE+0x0): multiple definition of `llvm::TargetInstrInfo::getBranchDestBlock(llvm::MachineInstr const&) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo18getBranchDestBlockERKNS_12MachineInstrE+0x0): first defined here\r\n../../lib/libLLVMNVPTXCodeGen.a(NVPTXInstrInfo.cpp.obj):NVPTXInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo21isBranchOffsetInRangeEjx+0x0): multiple definition of `llvm::TargetInstrInfo::isBranchOffsetInRange(unsigned int, long long) const'\r\n../../lib/libLLVMCodeGen.a(TargetInstrInfo.cpp.obj):TargetInstrInfo.cpp:(.text$_ZNK4llvm15TargetInstrInfo21isBranchOffsetInRangeEjx+0x0): first defined here\r\ncollect2: error: ld returned 1 exit status\r\n```"}}
{"actor":{"display_login":"vchuravy"}}