[PATCH] SROA produces miscompiled code for bitfield access on big-endian targets
hfinkel at anl.gov
hfinkel at anl.gov
Tue Jun 30 13:53:56 PDT 2015
Chandler, this is your code, could you please look at this?
REPOSITORY
rL LLVM
================
Comment at: lib/Transforms/Scalar/SROA.cpp:2587
@@ +2586,3 @@
+ Type *TargetTy = IsSplit ?
+ Type::getIntNTy(LI.getContext(),DL.getTypeStoreSizeInBits(NewAllocaTy))
+ : LI.getType();
----------------
This line is longer than 80 characters, and needs to be reformatted so that you don't exceed that limit.
http://reviews.llvm.org/D10357
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list