================
@@ -352,9 +351,9 @@ RValue CIRGenFunction::emitLoadOfBitfieldLValue(LValue lv,
SourceLocation loc) {
assert(!cir::MissingFeatures::armComputeVolatileBitfields());
- mlir::Value field = builder.createGetBitfield(
- getLoc(loc), resLTy, ptr.getPointer(), ptr.getElementType(), info,
- lv.isVolatile(), false, ptr.getAlignment().getAsAlign().value());
+ mlir::Value field =
+ builder.createGetBitfield(getLoc(loc), resLTy, ptr, ptr.getElementType(),
+ info, lv.isVolatile(), false);
----------------
Andres-Salamanca wrote:
Done
https://github.com/llvm/llvm-project/pull/148999
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits