[RegisterBankInfo] Provide a default constructor for InstructionMapping
authorQuentin Colombet <qcolombet@apple.com>
Thu, 7 Apr 2016 17:30:18 +0000 (17:30 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Thu, 7 Apr 2016 17:30:18 +0000 (17:30 +0000)
commit5b7ba5092c26b70057251af965ba7a850262e993
tree6df07aa69f1553ef200242c656403202fcd9c0b0
parentb869289cf3b6f630ce687e959e59c946719b904c
[RegisterBankInfo] Provide a default constructor for InstructionMapping
helper class.

The default constructor creates invalid (isValid() == false) instances
and may be used to communicate that a mapping was not found.

llvm-svn: 265699
llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp