Skip to content

constant pools out of range #4574

@llvmbot

Description

@llvmbot
Bugzilla Link 4202
Resolution FIXED
Resolved on May 18, 2009 15:57
Version trunk
OS MacOS X
Reporter LLVM Bugzilla Contributor

Extended Description

A number of the MultiSource tests are failing on ARM because the constant pools are too far away from the loads that reference them. Most of the offsets are only slightly too large. For example:

/Volumes/LocalHD/bwilson/nightly/test/llvm/Release/bin/llc -O3 -relocation-model=pic -mcpu=arm1136jf-s -f Output/treecc.llvm.bc -o Output/treecc.llc.s
gcc Output/treecc.llc.s -o Output/treecc.llc -lm -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.Internal.sdk
Output/treecc.llc.s:9173:bad immediate value for offset (4112)
Output/treecc.llc.s:9084:bad immediate value for offset (4104)
Output/treecc.llc.s:9056:bad immediate value for offset (4108)
Output/treecc.llc.s:9037:bad immediate value for offset (4108)
Output/treecc.llc.s:8971:bad immediate value for offset (4104)
Output/treecc.llc.s:8948:bad immediate value for offset (4104)
Output/treecc.llc.s:8898:bad immediate value for offset (4100)
Output/treecc.llc.s:8647:bad immediate value for offset (4104)
make[3]: [Output/treecc.llc] Error 1 (ignored)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions