Skip to content
Commit a11d834b authored by Evan Cheng's avatar Evan Cheng
Browse files

TargetData.cpp::getTypeInfo() was returning alignment of element type as the

alignment of a packed type. This is obviously wrong. Added a workaround that
returns the size of the packed type as its alignment. The correct fix would
be to return a target dependent alignment value provided via TargetLowering
(or some other interface).

llvm-svn: 27319
parent 39dcf1a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment