[PATCH] D56944: [X86] Fix bug in x86_intrcc with arg copy elision

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 18 16:14:17 PST 2019


rnk created this revision.
rnk added reviewers: craig.topper, phil-opp.
Herald added a subscriber: hiraditya.

Use a custom calling convention handler for interrupts instead of fixing
up the locations in LowerMemArgument. This way, the offsets are correct
when constructed and we don't need to account for them in as many
places.

Depends on D56883 <https://reviews.llvm.org/D56883>

Replaces D56275 <https://reviews.llvm.org/D56275>


https://reviews.llvm.org/D56944

Files:
  llvm/lib/Target/X86/X86CallingConv.cpp
  llvm/lib/Target/X86/X86CallingConv.td
  llvm/lib/Target/X86/X86FrameLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/x86-32-intrcc.ll
  llvm/test/CodeGen/X86/x86-64-intrcc.ll
  llvm/test/CodeGen/X86/x86-interrupt_cc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56944.182624.patch
Type: text/x-patch
Size: 90641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190119/8af5f9bb/attachment.bin>


More information about the llvm-commits mailing list