[PATCH] [FastIsel][X86] Fix invalid register replacement for bool args

Keno Fischer kfischer at college.harvard.edu
Thu Nov 13 18:59:03 PST 2014


Worked around the issue by never inserting Val into the ValueMap. This does require keeping track of the appropriate call register separately, but I think that's fine. Thoughts?

http://reviews.llvm.org/D6245

Files:
  lib/Target/X86/X86FastISel.cpp
  test/CodeGen/X86/fast-isel-call-bool.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6245.16189.patch
Type: text/x-patch
Size: 3428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141114/b90a71cf/attachment.bin>


More information about the llvm-commits mailing list