Index: include/llvm/CodeGen/MachineConstantPool.h =================================================================== --- include/llvm/CodeGen/MachineConstantPool.h +++ include/llvm/CodeGen/MachineConstantPool.h @@ -91,7 +91,7 @@ /// is indeed a target specific constantpool entry, not a wrapper over a /// Constant. bool isMachineConstantPoolEntry() const { - return (int)Alignment < 0; + return Alignment & ((unsigned) INT_MAX + 1); } int getAlignment() const {