aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2015-04-09 20:00:46 +0000
committerJuergen Ributzka <juergen@apple.com>2015-04-09 20:00:46 +0000
commitbd0c7eb4dc127b818b3da03d64c06c8cab55303c (patch)
tree072d82b3fe0708e20d3d132947ec415cb9b05c9f /clang/lib/CodeGen/CodeGenFunction.cpp
parentdf8f73fd8ae0aff10e456ec7317f20c997b195ce (diff)
downloadllvm-bd0c7eb4dc127b818b3da03d64c06c8cab55303c.zip
llvm-bd0c7eb4dc127b818b3da03d64c06c8cab55303c.tar.gz
llvm-bd0c7eb4dc127b818b3da03d64c06c8cab55303c.tar.bz2
[AArch64][FastISel] Fix integer extend optimization.
The integer extend optimization tries to fold the extend into the load instruction. This requires us to identify if the extend has already been emitted or not and act accordingly on it. The check that was originally performed for this was not sufficient. Besides checking the ValueMap for a mapped register we also need to check if the virtual register has already an associated machine instruction that defines it. This fixes rdar://problem/20470788. llvm-svn: 234529
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions