[PATCH] D103474: [PowerPC][AIX] Fix static_assert while bootstrapping.
Sean Fertile via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 2 06:32:05 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG81f7607f7c7d: [PowerPC][AIX} FIx AIX bootstrap build. (authored by sfertile).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103474/new/
https://reviews.llvm.org/D103474
Files:
llvm/include/llvm/CodeGen/SelectionDAGNodes.h
llvm/include/llvm/IR/BasicBlock.h
Index: llvm/include/llvm/IR/BasicBlock.h
===================================================================
--- llvm/include/llvm/IR/BasicBlock.h
+++ llvm/include/llvm/IR/BasicBlock.h
@@ -513,7 +513,7 @@
void validateInstrOrdering() const;
private:
-#if defined(_AIX) && (!defined(__GNUC__) || defined(__ibmxl__))
+#if defined(_AIX) && (!defined(__GNUC__) || defined(__clang__))
// Except for GCC; by default, AIX compilers store bit-fields in 4-byte words
// and give the `pack` pragma push semantics.
#define BEGIN_TWO_BYTE_PACK() _Pragma("pack(2)")
Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
===================================================================
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -462,7 +462,7 @@
// SubclassData. These are designed to fit within a uint16_t so they pack
// with NodeType.
-#if defined(_AIX) && (!defined(__GNUC__) || defined(__ibmxl__))
+#if defined(_AIX) && (!defined(__GNUC__) || defined(__clang__))
// Except for GCC; by default, AIX compilers store bit-fields in 4-byte words
// and give the `pack` pragma push semantics.
#define BEGIN_TWO_BYTE_PACK() _Pragma("pack(2)")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103474.349253.patch
Type: text/x-patch
Size: 1210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210602/26f2249e/attachment.bin>
More information about the llvm-commits
mailing list