summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcRegInfo.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-06 06:59:55 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-06 06:59:55 +0000
commit0ccdecbdaaebbd424f8b8afad67309d8b69d4c93 (patch)
tree6a020d61257a6c9542eb6574ff12aae73aeb8cbf /llvm/lib/Target/Sparc/SparcRegInfo.cpp
parenta2b55253c66c7eb98cec2300571856da8b53eb2b (diff)
downloadbcm5719-llvm-0ccdecbdaaebbd424f8b8afad67309d8b69d4c93.tar.gz
bcm5719-llvm-0ccdecbdaaebbd424f8b8afad67309d8b69d4c93.zip
::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT :::
The JIT is designed to code-generate a function at-a-time. That means that any pass can only make local changes to its function. Period. Because the Sparc PreSelection pass claims to be a BasicBlock pass while adding globals to the Module, it cannot be run with the other passes, because by this time, the globals have been output already by the JIT, and the addresses of any globals appearing AFTER this point are not recognized. However, the PreSelection pass is a requirement for correctness in the Sparc codegen path, so it MUST be run. ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: llvm-svn: 6650
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcRegInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud