[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)
commit450c33b212860a3d7e2be7aa23efba40665430bb
treec2bb283cadc1f3a854dbf670983caa9bf45b40e7
parentd321cdfc1cb4a4380ba4a1c5e14f8481eb2d6bcc
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214366 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
lib/Target/X86/X86FastISel.cpp
test/CodeGen/X86/patchpoint-webkit_jscc.ll [new file with mode: 0644]
test/CodeGen/X86/patchpoint.ll