commit | 960a40ec576f07b6fb196cc91d08abbcffbc04c0 | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Fri Apr 21 21:48:41 2017 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Fri Apr 21 21:48:41 2017 +0000 |
tree | 5c1539e0087d7d2a7601a197aec2a3769b421800 | |
parent | 94f347bd3316685715fc98d9fdf2927da5149ed0 [diff] |
Re-commit r301040 "X86: Don't emit zero-byte functions on Windows" In addition to the original commit, tighten the condition for when to pad empty functions to COFF Windows. This avoids running into problems when targeting e.g. Win32 AMDGPU, which caused test failures when this was committed initially. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301047 91177308-0d34-0410-b5e6-96231b3b80d8