summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/TargetLoweringBase.cpp
diff options
context:
space:
mode:
authorStepan Dyatkovskiy <stpworld@narod.ru>2014-03-27 07:49:39 +0000
committerStepan Dyatkovskiy <stpworld@narod.ru>2014-03-27 07:49:39 +0000
commit35300030088b535dd3dadd4516ca52ed93aa09f5 (patch)
treece58b01fe0fcad89adc9ee5c3201ed4b2dfa5faf /llvm/lib/CodeGen/TargetLoweringBase.cpp
parent1d3f2c7c82fbb5290eeb1ccbef5bb253809654df (diff)
downloadbcm5719-llvm-35300030088b535dd3dadd4516ca52ed93aa09f5.tar.gz
bcm5719-llvm-35300030088b535dd3dadd4516ca52ed93aa09f5.zip
Fix for pr18931: Crash using integrated assembler with immediate arithmetic
Fix description: Expressions like 'cmp r0, #(l1 - l2) >> 3' could not be evaluated on asm parsing stage, since it is impossible to resolve labels on this stage. In the end of stage we still have expression (MCExpr). Then, when we want to encode it, we expect it to be an immediate, but it still an expression. Patch introduces a Fixup (MCFixup instance), that is processed after main encoding stage. llvm-svn: 204899
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud