Hi all
Looks like http://reviews.llvm.org/D8339 breaks loads from packed structs.
The problem is that when we create a new load of the aggregate type, we didn't set its alignment. So a load of a packed int gets promote from align 1 to align 4.
I was told about this offline by Neil Henning from Codeplay. He was able to describe the problem well enough that I could make this small test case.
He also mentioned that this is breaking his code in a way where he would really like to see this get in to 3.8. No idea if thats possible, but just putting that out there to see if that would be ok.
Thanks,
Pete