Skip to content

Commit 5041c71

Browse files
committed
explicitly set all non-used fields to 0
1 parent 47e9da5 commit 5041c71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/Target/PowerPC/PPCInstrFuture.td

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,10 @@ class XForm_RBS5<bits<6> opCode, bits<10> xo, dag OOL, dag IOL, string asmstr,
192192
let Pattern = pattern;
193193

194194
let Inst{6...10} = RS;
195+
let Inst{11...15} = 0;
195196
let Inst{16...20} = RB;
196197
let Inst{21...30} = xo;
198+
let Inst{31} = 0;
197199
}
198200

199201
class XX3Form_XTAB6_S<bits<5> xo, dag OOL, dag IOL, string asmstr,

0 commit comments

Comments
 (0)