Fix this function to not say that longs have 8-byte alignment on X86/PPC.
authorChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2004 22:18:18 +0000 (22:18 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2004 22:18:18 +0000 (22:18 +0000)
commitda6122f61d4f1c3f1ea16e20cccf22f42b9ee26d
tree373e4b8e6441b242618707867af303dff176a8c3
parent80f085500f8b7bfd876050a5817be4813480f49a
Fix this function to not say that longs have 8-byte alignment on X86/PPC.
This method is really a gross hack, but at least we can make it work on
the targets we support right now.

This bug fix stops a crash in a testcase reduced from 176.gcc

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