mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 18:24:23 +00:00
Fixed problem in EmitStackConvert where the source and target type
have different alignment by creating a stack slot with the max alignment of source and target type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -574,9 +574,10 @@ public:
|
||||
void dump() const;
|
||||
|
||||
/// CreateStackTemporary - Create a stack temporary, suitable for holding the
|
||||
/// specified value type.
|
||||
SDOperand CreateStackTemporary(MVT VT);
|
||||
|
||||
/// specified value type. If minAlign is specified, the slot size will have
|
||||
/// at least that alignment.
|
||||
SDOperand CreateStackTemporary(MVT VT, unsigned minAlign = 0);
|
||||
|
||||
/// FoldSetCC - Constant fold a setcc to true or false.
|
||||
SDOperand FoldSetCC(MVT VT, SDOperand N1,
|
||||
SDOperand N2, ISD::CondCode Cond);
|
||||
|
Reference in New Issue
Block a user