]> granicus.if.org Git - llvm/commit
TargetLoweringBase: Fix darwinHasSinCos()
authorMatthias Braun <matze@braunis.de>
Tue, 19 Dec 2017 20:24:12 +0000 (20:24 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 19 Dec 2017 20:24:12 +0000 (20:24 +0000)
commit9e15e2114b5ab45dba6830f1db483aa2ffff406c
tree9974d7fe4e45a7f7df1413334b34aa65ec718193
parentca4d818dd00d0393cd964ffaf0901429b46dd9b1
TargetLoweringBase: Fix darwinHasSinCos()

Another followup to my refactoring in r321036: Turns out we can end up
with an x86 darwin target that is not macos (simulator triples can look
like i386-apple-ios) so we need the x86/32bit check in all cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@321104 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringBase.cpp