[FastISel][AArch64 and X86] Don't emit stores for UNDEF arguments during function...
authorJuergen Ributzka <juergen@apple.com>
Thu, 31 Jul 2014 00:11:11 +0000 (00:11 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 31 Jul 2014 00:11:11 +0000 (00:11 +0000)
commit39032673da9fe6da0c532f4c220090c793acb47d
tree4a83b26b5f52eb8c89dabe6d7b75f5903419c839
parent5faa6225ad738883f76e94feb9414c911b31a0f6
[FastISel][AArch64 and X86] Don't emit stores for UNDEF arguments during function call lowering.

UNDEF arguments are not ment to be touched - especially for the webkit_js
calling convention. This fix reproduces the already existing behavior of
SelectionDAG in FastISel.

llvm-svn: 214366
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/patchpoint-webkit_jscc.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/patchpoint.ll