llvm.org GIT mirror llvm / 9b6cedd
[X86] Add hasSideEffects=0 back to ADOX instructions. Partial cherrypick from r328952. This flag was present before the cherrypick of 328945. This matches what happened on trunk. I've left out the scheduling changes from r328952 to minimize changes from 6.0.1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_60@332943 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 1 year, 4 months ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
13501350 IIC_BIN_CARRY_NONMEM>, T8PD;
13511351
13521352 // We don't have patterns for ADOX yet.
1353 let hasSideEffects = 0 in {
13531354 def ADOX32rr : I<0xF6, MRMSrcReg, (outs GR32:$dst), (ins GR32:$src0, GR32:$src),
13541355 "adox{l}\t{$src, $dst|$dst, $src}", [], IIC_BIN_NONMEM>, T8XS;
13551356
13561357 def ADOX64rr : RI<0xF6, MRMSrcReg, (outs GR64:$dst), (ins GR64:$src0, GR64:$src),
13571358 "adox{q}\t{$src, $dst|$dst, $src}", [], IIC_BIN_NONMEM>, T8XS;
1359 } // hasSideEffects = 0
13581360 } // SchedRW
13591361
13601362 let mayLoad = 1, SchedRW = [WriteALULd] in {
13711373 IIC_BIN_CARRY_MEM>, T8PD;
13721374
13731375 // We don't have patterns for ADOX yet.
1376 let hasSideEffects = 0 in {
13741377 def ADOX32rm : I<0xF6, MRMSrcMem, (outs GR32:$dst), (ins GR32:$src0, i32mem:$src),
13751378 "adox{l}\t{$src, $dst|$dst, $src}", [], IIC_BIN_MEM>, T8XS;
13761379
13771380 def ADOX64rm : RI<0xF6, MRMSrcMem, (outs GR64:$dst), (ins GR64:$src0, i64mem:$src),
13781381 "adox{q}\t{$src, $dst|$dst, $src}", [], IIC_BIN_MEM>, T8XS;
13791382 }
1380 }
1383 } // hasSideEffects = 0
1384 }