[GlobalISel] Update the documentation and comments for G_EXTRACT

In r297100, G_EXTRACT changed from a multiple results instruction to a
single result one. Update the documentation accordingly.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314166 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Quentin Colombet 2017-09-25 22:03:01 +00:00
parent e509babaee
commit 33e9c8a077
2 changed files with 3 additions and 3 deletions

View File

@ -307,7 +307,7 @@ validity of the intermediate code, instructions are introduced:
* ``G_SEQUENCE`` --- concatenate multiple registers into a single wider
register.
* ``G_EXTRACT`` --- extract multiple registers (as contiguous sequences of bits)
* ``G_EXTRACT`` --- extract a simple register (as contiguous sequences of bits)
from a single wider register.
As they are expected to be temporary byproducts of the legalization process,

View File

@ -486,8 +486,8 @@ def G_STORE : Instruction {
// Variadic ops
//------------------------------------------------------------------------------
// Extract multiple registers specified size, starting from blocks given by
// indexes. This will almost certainly be mapped to sub-register COPYs after
// Extract a register of the specified size, starting from the block given by
// index. This will almost certainly be mapped to sub-register COPYs after
// register banks have been selected.
def G_EXTRACT : Instruction {
let OutOperandList = (outs type0:$res);