[PATCH] R600: Fix assert on empty function

Matt Arsenault Matthew.Arsenault at amd.com
Tue Oct 21 21:08:05 PDT 2014


If a function is just an unreachable, this would hit a
"this is not a MachO target" assertion because of setting
HasSubsectionViaSymbols.

http://reviews.llvm.org/D5903

Files:
  lib/Target/R600/MCTargetDesc/AMDGPUMCAsmInfo.cpp
  test/CodeGen/R600/empty-function.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5903.15230.patch
Type: text/x-patch
Size: 1201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141022/3638155d/attachment.bin>


More information about the llvm-commits mailing list