mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Regenerate.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7969681c8b
commit
5fe27e7b99
@ -546,7 +546,7 @@ static std::string getCastUpgrade(
|
||||
SrcTy.destroy();
|
||||
SrcTy.newTy = new std::string("ulong");
|
||||
SrcTy.oldTy = ULongTy;
|
||||
} else if (DstTy.oldTy == BoolTy) {
|
||||
} else if (DstTy.oldTy == BoolTy && SrcTy.oldTy != BoolTy) {
|
||||
// cast ptr %x to bool was previously defined as setne ptr %x, null
|
||||
// The ptrtoint semantic is to truncate, not compare so we must retain
|
||||
// the original intent by replace the cast with a setne
|
||||
|
@ -546,7 +546,7 @@ static std::string getCastUpgrade(
|
||||
SrcTy.destroy();
|
||||
SrcTy.newTy = new std::string("ulong");
|
||||
SrcTy.oldTy = ULongTy;
|
||||
} else if (DstTy.oldTy == BoolTy) {
|
||||
} else if (DstTy.oldTy == BoolTy && SrcTy.oldTy != BoolTy) {
|
||||
// cast ptr %x to bool was previously defined as setne ptr %x, null
|
||||
// The ptrtoint semantic is to truncate, not compare so we must retain
|
||||
// the original intent by replace the cast with a setne
|
||||
|
@ -188,7 +188,7 @@ static std::string getCastUpgrade(
|
||||
SrcTy.destroy();
|
||||
SrcTy.newTy = new std::string("ulong");
|
||||
SrcTy.oldTy = ULongTy;
|
||||
} else if (DstTy.oldTy == BoolTy) {
|
||||
} else if (DstTy.oldTy == BoolTy && SrcTy.oldTy != BoolTy) {
|
||||
// cast ptr %x to bool was previously defined as setne ptr %x, null
|
||||
// The ptrtoint semantic is to truncate, not compare so we must retain
|
||||
// the original intent by replace the cast with a setne
|
||||
|
Loading…
Reference in New Issue
Block a user