Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISEL failure on Travis macOS during Kaleidoscope tests #107

Closed
maleadt opened this issue Jun 25, 2018 · 2 comments
Closed

ISEL failure on Travis macOS during Kaleidoscope tests #107

maleadt opened this issue Jun 25, 2018 · 2 comments

Comments

@maleadt
Copy link
Owner

maleadt commented Jun 25, 2018

loops: Error During Test at /Users/travis/build/maleadt/LLVM.jl/test/Kaleidoscope.jl:27
  Got exception LLVMException("Cannot select: 0x7fc8073f98e8: ch,glue = X86ISD::CALL 0x7fc8073f9d60, 0x7fc8073f96e0, Register:f64 %xmm0, RegisterMask:Untyped, 0x7fc8073f9d60:1\n  0x7fc8073f96e0: i32 = X86ISD::Wrapper TargetGlobalAddress:i32<double (double)* @fib> 0\n    0x7fc8073f9470: i32 = TargetGlobalAddress<double (double)* @fib> 0\n  0x7fc8073f9c28: f64 = Register %xmm0\n  0x7fc8073f9b58: Untyped = RegisterMask\n  0x7fc8073f9d60: ch,glue = CopyToReg 0x7fc8073f9af0, Register:f64 %xmm0, 0x7fc8073f9408\n    0x7fc8073f9c28: f64 = Register %xmm0\n    0x7fc8073f9408: f64,ch = load<LD8[ConstantPool]> 0x7fc806ab6260, 0x7fc8073f9540, undef:i32\n      0x7fc8073f9540: i32 = X86ISD::Wrapper TargetConstantPool:i32<double 1.000000e+01> 0\n        0x7fc8073f9a88: i32 = TargetConstantPool<double 1.000000e+01> 0\n      0x7fc8073f9338: i32 = undef\nIn function: entry") outside of a @test
  LLVM error: Cannot select: 0x7fc8073f98e8: ch,glue = X86ISD::CALL 0x7fc8073f9d60, 0x7fc8073f96e0, Register:f64 %xmm0, RegisterMask:Untyped, 0x7fc8073f9d60:1
    0x7fc8073f96e0: i32 = X86ISD::Wrapper TargetGlobalAddress:i32<double (double)* @fib> 0
      0x7fc8073f9470: i32 = TargetGlobalAddress<double (double)* @fib> 0
    0x7fc8073f9c28: f64 = Register %xmm0
    0x7fc8073f9b58: Untyped = RegisterMask
    0x7fc8073f9d60: ch,glue = CopyToReg 0x7fc8073f9af0, Register:f64 %xmm0, 0x7fc8073f9408
      0x7fc8073f9c28: f64 = Register %xmm0
      0x7fc8073f9408: f64,ch = load<LD8[ConstantPool]> 0x7fc806ab6260, 0x7fc8073f9540, undef:i32
        0x7fc8073f9540: i32 = X86ISD::Wrapper TargetConstantPool:i32<double 1.000000e+01> 0
          0x7fc8073f9a88: i32 = TargetConstantPool<double 1.000000e+01> 0
        0x7fc8073f9338: i32 = undef
  In function: entry
  Stacktrace:
   [1] handle_error(::Cstring) at /Users/travis/build/maleadt/LLVM.jl/src/core/context.jl:103
   [2] macro expansion at /Users/travis/build/maleadt/LLVM.jl/src/base.jl:18 [inlined]
   [3] LLVMRunFunction at /Users/travis/build/maleadt/LLVM.jl/lib/6.0/libLLVM_h.jl:2829 [inlined]
   [4] run(::ExecutionEngine, ::LLVM.Function, ::Array{GenericValue,1}) at /Users/travis/build/maleadt/LLVM.jl/src/execution.jl:130 (repeats 2 times)
   [5] (::getfield(Main.Kaleidoscope, Symbol("##20#21")){String})(::ExecutionEngine) at /Users/travis/build/maleadt/LLVM.jl/examples/Kaleidoscope/run.jl:37
   [6] JIT(::getfield(Main.Kaleidoscope, Symbol("##20#21")){String}, ::LLVM.Module) at /Users/travis/build/maleadt/LLVM.jl/src/execution.jl:114
   [7] run at /Users/travis/build/maleadt/LLVM.jl/examples/Kaleidoscope/run.jl:32 [inlined]
   [8] (::getfield(Main, Symbol("##270#274")))(::Context) at /Users/travis/build/maleadt/LLVM.jl/test/Kaleidoscope.jl:50
   [9] Context(::getfield(Main, Symbol("##270#274"))) at /Users/travis/build/maleadt/LLVM.jl/src/core/context.jl:21
   [10] macro expansion at /Users/travis/build/maleadt/LLVM.jl/test/Kaleidoscope.jl:28 [inlined]
   [11] macro expansion at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1080 [inlined]
   [12] macro expansion at /Users/travis/build/maleadt/LLVM.jl/test/Kaleidoscope.jl:6 [inlined]
   [13] macro expansion at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1080 [inlined]
   [14] top-level scope at /Users/travis/build/maleadt/LLVM.jl/test/Kaleidoscope.jl:3 [inlined]
   [15] top-level scope at ./<missing>:0
   [16] include at ./boot.jl:317 [inlined]
   [17] include_relative(::Module, ::String) at ./loading.jl:1075
   [18] include(::Module, ::String) at ./sysimg.jl:29
   [19] include(::String) at ./client.jl:393
   [20] macro expansion at /Users/travis/build/maleadt/LLVM.jl/test/runtests.jl:11 [inlined]
   [21] macro expansion at /Users/osx/buildbot/slave/package_osx64/build/usr/share/julia/stdlib/v0.7/Test/src/Test.jl:1080 [inlined]
   [22] top-level scope at /Users/travis/build/maleadt/LLVM.jl/test/runtests.jl:8 [inlined]
   [23] top-level scope at ./<missing>:0
   [24] include at ./boot.jl:317 [inlined]
   [25] include_relative(::Module, ::String) at ./loading.jl:1075
   [26] include(::Module, ::String) at ./sysimg.jl:29
   [27] include(::String) at ./client.jl:393
   [28] top-level scope at none:0
   [29] eval(::Module, ::Any) at ./boot.jl:319
   [30] exec_options(::Base.JLOptions) at ./client.jl:243
   [31] _start() at ./client.jl:427
@maleadt
Copy link
Owner Author

maleadt commented Jun 27, 2018

Can't reproduce on the julia.csail macmini...

@maleadt maleadt changed the title ISEL failure on macOS during Kaleidoscope tests ISEL failure on Travis macOS during Kaleidoscope tests Jun 27, 2018
@maleadt
Copy link
Owner Author

maleadt commented Nov 19, 2018

#122

@maleadt maleadt closed this as completed Nov 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant