OSDN Git Service

[globalisel][legalizerinfo] Follow up on post-commit review comments after r323681
authorDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 13 Feb 2018 23:02:44 +0000 (23:02 +0000)
committerDaniel Sanders <daniel_l_sanders@apple.com>
Tue, 13 Feb 2018 23:02:44 +0000 (23:02 +0000)
commit747839c4838b03237cbe5c50c0a789b1f6f82a77
treed2d1ed719d395a4e8dec5b7a7ba64ef3131a35ca
parent0dcc17c9b068acea087ed538a9652255c424a3f8
[globalisel][legalizerinfo] Follow up on post-commit review comments after r323681

* Document most API's
* Delete a useless function call
* Fix a discrepancy between the single and multi-opcode variants of
  getActionDefinitions().
  The multi-opcode variant now requires that more than one opcode is requested.
  Previously it acted much like the single-opcode form but unnecessarily
  enforced the requirements of the multi-opcode form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325067 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/LegalizerInfo.h
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp