OSDN Git Service

[AArch64][GlobalISel] Add legalizer & selector support for G_FREEZE.
authorAmara Emerson <aemerson@apple.com>
Mon, 18 May 2020 23:23:53 +0000 (16:23 -0700)
committerAmara Emerson <aemerson@apple.com>
Mon, 18 May 2020 23:25:33 +0000 (16:25 -0700)
commit665da596854bf07ee25f368855156dde43845013
treeccb1bf07dffe340feeaf85ce7907d425bb9fd04d
parentb593bfd4d8e3716c80d4313b5a0eeeb6e9575a74
[AArch64][GlobalISel] Add legalizer & selector support for G_FREEZE.

These should legalize like undefs and select into copies.

The ll test is copied from the x86 test, minus the half fp case because
we don't currently support that.
llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
llvm/test/CodeGen/AArch64/GlobalISel/freeze.ll [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/legalize-freeze.mir [new file with mode: 0644]
llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir