aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2013-10-14 22:32:09 +0000
committerQuentin Colombet <qcolombet@apple.com>2013-10-14 22:32:09 +0000
commit778dba1dd85633955f246932f84c905cb27b1927 (patch)
tree222e5f6021fadb01926b1f6d2e84e1de6b967f53 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentb6d56be69d0f0533149a477be0228003ad0283f4 (diff)
downloadllvm-778dba1dd85633955f246932f84c905cb27b1927.zip
llvm-778dba1dd85633955f246932f84c905cb27b1927.tar.gz
llvm-778dba1dd85633955f246932f84c905cb27b1927.tar.bz2
[X86][FastISel] During X86 fastisel, the address of indirect call was resolved
through bitcast, ptrtoint, and inttoptr instructions. This is valid only if the related instructions are in that same basic block, otherwise we may reference variables that were not live accross basic blocks resulting in undefined virtual registers. The bug was exposed when both SDISel and FastISel were used within the same function, i.e., one basic block is issued with FastISel and another with SDISel, as demonstrated with the testcase. <rdar://problem/15192473> llvm-svn: 192636
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions