Quick fix: Triple::isOSMSVCRT() should be false for targeting cygwin.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 6 Apr 2014 10:01:23 +0000 (10:01 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 6 Apr 2014 10:01:23 +0000 (10:01 +0000)
commit2e858fcaad72d7b6ed994436e25af083ee5ecde2
tree995645c58b4f7dcc2b412bababae6797d122d3a7
parentcde97ea514e4b3a4c9c23db1cee865e8b188b426
Quick fix: Triple::isOSMSVCRT() should be false for targeting cygwin.

It affected callee's stack pop in x86. It is one of devergences between cygwin and mingw since mingw-gcc-4.6.

Added testcases to llvm/test/CodeGen/X86/win32_sret.ll for cygwin.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205688 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Triple.h
test/CodeGen/X86/win32_sret.ll