Skip to content
  • Michael Liao's avatar
    3c898064
    Fix PR13727 · 3c898064
    Michael Liao authored
    - The root cause is that target constant materialization in X86 fast-isel
      creates a PC-rel addressing which may overflow 32-bit range in non-Small code
      model if .rodata section is allocated too far away from code segment in
      MCJIT, which uses Large code model so far.
    - Follow the similar logic to fix non-Small code model in fast-isel by skipping
      non-Small code model.
    
    llvm-svn: 162881
    3c898064
    Fix PR13727
    Michael Liao authored
    - The root cause is that target constant materialization in X86 fast-isel
      creates a PC-rel addressing which may overflow 32-bit range in non-Small code
      model if .rodata section is allocated too far away from code segment in
      MCJIT, which uses Large code model so far.
    - Follow the similar logic to fix non-Small code model in fast-isel by skipping
      non-Small code model.
    
    llvm-svn: 162881
Loading