mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-18 06:38:41 +00:00
Fix test/Regression/Assembler/2005-02-09-AsmWriterStoreBug.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20089 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
55d813aef6
commit
fe0343a1cd
@ -1161,7 +1161,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) {
|
|||||||
|
|
||||||
// Shift Left & Right print both types even for Ubyte LHS, and select prints
|
// Shift Left & Right print both types even for Ubyte LHS, and select prints
|
||||||
// types even if all operands are bools.
|
// types even if all operands are bools.
|
||||||
if (isa<ShiftInst>(I) || isa<SelectInst>(I)) {
|
if (isa<ShiftInst>(I) || isa<SelectInst>(I) || isa<StoreInst>(I)) {
|
||||||
PrintAllTypes = true;
|
PrintAllTypes = true;
|
||||||
} else {
|
} else {
|
||||||
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
for (unsigned i = 1, E = I.getNumOperands(); i != E; ++i) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user