[FastISel] Local values shouldn't be alive across an inline asm call with side effects.
authorJuergen Ributzka <juergen@apple.com>
Wed, 16 Jul 2014 22:20:51 +0000 (22:20 +0000)
committerJuergen Ributzka <juergen@apple.com>
Wed, 16 Jul 2014 22:20:51 +0000 (22:20 +0000)
commit618ce3e85ed1c68e89dc696b7c9ab94a6a910797
tree58f42ec500e16de329bfa7518eb4a822a247a6f7
parent8b205306892ea701978a2b789f6eafe4277648a7
[FastISel] Local values shouldn't be alive across an inline asm call with side effects.

This fixes an issue where a local value is defined before and used after an
inline asm call with side effects.

This fix simply flushes the local value map, which updates the insertion point
for the inline asm call to be above any previously defined local values.

This fixes <rdar://problem/17694203>

llvm-svn: 213203
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/test/CodeGen/ARM/fast-isel-inline-asm.ll [new file with mode: 0644]