[PATCH] D32330: X86: Don't emit zero-byte functions on Windows

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 13:46:03 PDT 2017


hans updated this revision to Diff 96222.
hans added a comment.
Herald added a subscriber: nemanjai.
Herald added a reviewer: javed.absar.

Renamed getNoopForMachoTarget() to getNoop() and added FIXME.

Please take another look.


https://reviews.llvm.org/D32330

Files:
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/ARM/ARMBaseInstrInfo.h
  lib/Target/ARM/ARMInstrInfo.cpp
  lib/Target/ARM/ARMInstrInfo.h
  lib/Target/ARM/ARMMCInstLower.cpp
  lib/Target/ARM/Thumb1InstrInfo.cpp
  lib/Target/ARM/Thumb1InstrInfo.h
  lib/Target/ARM/Thumb2InstrInfo.cpp
  lib/Target/ARM/Thumb2InstrInfo.h
  lib/Target/PowerPC/PPCInstrInfo.cpp
  lib/Target/PowerPC/PPCInstrInfo.h
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/empty-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32330.96222.patch
Type: text/x-patch
Size: 11647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170421/13eb7ae4/attachment.bin>


More information about the llvm-commits mailing list