Skip to content
Snippets Groups Projects
Commit 3b7f8dae authored by River Riddle's avatar River Riddle
Browse files

[mlir] Properly align StorageUniquer::BaseStorage to fix 32 bit build

We allow stealing up to 3 bits of pointers to BaseStorage, so we need to make sure that we align by at least 8.
parent f878e1af
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class StorageUniquer {
public:
/// This class acts as the base storage that all storage classes must derived
/// from.
class BaseStorage {
class alignas(8) BaseStorage {
protected:
BaseStorage() = default;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment