OSDN Git Service

Subzero: Improve the usability of UnimplementedError during lowering.
authorJim Stichnoth <stichnot@chromium.org>
Tue, 19 Jan 2016 17:52:22 +0000 (09:52 -0800)
committerJim Stichnoth <stichnot@chromium.org>
Tue, 19 Jan 2016 17:52:22 +0000 (09:52 -0800)
commit91c773e1a2bccbb2e2f848f42fc36285cf5f12a5
tree5904ebe163de5ee4ed7a2be4fce0d69f046f8e72
parentb819665aac0c747bd2337eb72f91f4b1de11f688
Subzero: Improve the usability of UnimplementedError during lowering.

Provides a variant of the UnimplementedError macro specifically for use in incomplete target instruction lowering.  When --skip-unimplemented is specified, the UnimplementedLoweringError macro adds FakeUse and FakeDef instructions in order to maintain consistency in liveness analysis.

BUG= none
R=kschimpf@google.com

Review URL: https://codereview.chromium.org/1591893002 .
src/IceTargetLowering.cpp
src/IceTargetLowering.h
src/IceTargetLoweringARM32.cpp
src/IceTargetLoweringMIPS32.cpp