[PATCH] [x32] Fix function indirect calls

Pavel Chupin pavel.v.chupin at gmail.com
Mon Sep 15 09:32:50 PDT 2014


Sorry, but this patch should be better than previous version. Modified 1 more test to catch ineffectiveness I didn't noticed before.
We need zero-extend only if callee address is in register.
Please review.

http://reviews.llvm.org/D5355

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/x32-function_pointer-1.ll
  test/CodeGen/X86/x32-function_pointer-2.ll
  test/CodeGen/X86/x32-function_pointer-3.ll
  test/CodeGen/X86/x86-64-call.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5355.13714.patch
Type: text/x-patch
Size: 3653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140915/a0bed55a/attachment.bin>


More information about the llvm-commits mailing list