juliannagele wrote:
Unfortunately it looks like this has broken building compiler-rt on green
dragon:
https://green.lab.llvm.org/job/llvm.org/job/clang-stage1-RA/2606/console
```
:1:1: error: unrecognized instruction mnemonic
pushfq
^
/Users/ec2-user/jenkins/workspace/llvm.org/clang-stage1-RA/ll
@@ -319,7 +320,10 @@ CodeGenTBAA::CollectFields(uint64_t BaseOffset,
// base type.
if ((*i)->isBitField()) {
const CGBitFieldInfo &Info = CGRL.getBitFieldInfo(*i);
-if (Info.Offset != 0)
+bool IsBE = Context.getTargetInfo().isBigEndian();
+
https://github.com/juliannagele updated
https://github.com/llvm/llvm-project/pull/87753
>From db1ee85ca26d7ddbaa163f4e9b1038c28e3d4a57 Mon Sep 17 00:00:00 2001
From: Julian Nagele
Date: Thu, 4 Apr 2024 11:48:19 +0100
Subject: [PATCH 1/2] Fix tbaa.struct metadata for bitfields using big endian.
@@ -319,7 +320,10 @@ CodeGenTBAA::CollectFields(uint64_t BaseOffset,
// base type.
if ((*i)->isBitField()) {
const CGBitFieldInfo &Info = CGRL.getBitFieldInfo(*i);
-if (Info.Offset != 0)
+bool IsBE = Context.getTargetInfo().isBigEndian();
+
https://github.com/juliannagele updated
https://github.com/llvm/llvm-project/pull/87753
>From db1ee85ca26d7ddbaa163f4e9b1038c28e3d4a57 Mon Sep 17 00:00:00 2001
From: Julian Nagele
Date: Thu, 4 Apr 2024 11:48:19 +0100
Subject: [PATCH] Fix tbaa.struct metadata for bitfields using big endian.
Whe
https://github.com/juliannagele created
https://github.com/llvm/llvm-project/pull/87753
When generating tbaa.struct metadata we treat multiple adjacent bitfields as a
single "field", with one corresponding entry in the metadata. At the moment
this is achieved by adding an entry for the first b