Use the asmprinter to find out what the preferred alignment of a global is.
authorChris Lattner <sabre@nondot.org>
Sun, 5 Feb 2006 01:30:45 +0000 (01:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Feb 2006 01:30:45 +0000 (01:30 +0000)
commit7d8d5a522fb6d9d83f5d89f30fe1badf68832efd
treeaadda5852ffa0a5069fd429a1137d3e70a40a2d4
parent4d57e0cd69d8466c9321d67021c4747ce822f79a
Use the asmprinter to find out what the preferred alignment of a global is.
This patch speeds up 172.mgrid from 31.81s to 11.39s on darwin/ppc.
Many many thanks to Nate for tracking down the root cause of the issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25979 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp