llvm.org GIT mirror llvm / 0794af8
R600/SI: Initialize unused VOP3 sources to 0 instead of SIOperand.ZERO git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213563 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
1 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
314314 (ins InputMods:$src0_modifiers, src:$src0, i32imm:$clamp, i32imm:$omod),
315315 opName#"_e64 $dst, $src0_modifiers, $clamp, $omod", []
316316 >, VOP {
317 let src1 = SIOperand.ZERO;
318 let src2 = SIOperand.ZERO;
317 let src1 = 0;
318 let src2 = 0;
319319 }
320320 }
321321
346346 i32imm:$clamp, i32imm:$omod),
347347 opName#"_e64 $dst, $src0_modifiers, $src1_modifiers, $clamp, $omod", []
348348 >, VOP , VOP2_REV {
349 let src2 = SIOperand.ZERO;
349 let src2 = 0;
350350 }
351351 }
352352
374374 i32imm:$clamp, i32imm:$omod),
375375 opName#"_e64 $dst, $src0_modifiers, $src1_modifiers, $clamp, $omod", []
376376 >, VOP , VOP2_REV {
377 let src2 = SIOperand.ZERO;
377 let src2 = 0;
378378 /* the VOP2 variant puts the carry out into VCC, the VOP3 variant
379379 can write it into any SGPR. We currently don't use the carry out,
380380 so for now hardcode it to VCC as well */
403403 )
404404 >, VOP {
405405 let Defs = !if(defExec, [EXEC], []);
406 let src2 = SIOperand.ZERO;
406 let src2 = 0;
407407 let src2_modifiers = 0;
408408 }
409409 }
438438 opName#" $dst, $src0, $src1", pattern
439439 >, VOP {
440440
441 let src2 = SIOperand.ZERO;
441 let src2 = 0;
442442 let src0_modifiers = 0;
443443 let clamp = 0;
444444 let omod = 0;