1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/lib/CodeGen/GlobalISel
Daniel Sanders a949cf108b [globalisel] Stop requiring -debug/-debug-only=registerbankinfo for assertions.
Summary:
I've noticed that these assertions don't trigger when the condition is false.
The problem is that the DEBUG(x) macro only executes x when the pass is
emitting debug output via the -debug and -debug-only=registerbankinfo command
line arguments.

Debug builds should always execute the assertions so use '#ifndef NDEBUG' instead.

Also removed an assertion that is only true the first time it's tested. <Target>RegisterBankInfo's constructor will re-use register banks causing them to be valid on subsequent tests. That
assertion will fail on the first test too in the near future.

Reviewers: t.p.northover, ab, rovka, qcolombet

Subscribers: dberris, llvm-commits, kristof.beyls

Differential Revision: https://reviews.llvm.org/D28358

llvm-svn: 291235
2017-01-06 14:29:34 +00:00
..
CallLowering.cpp [GlobalISel] Move extendRegister where it belongs. NFCI 2016-12-13 10:46:12 +00:00
CMakeLists.txt [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00
GlobalISel.cpp GlobalISel: rename legalizer components to match others. 2016-10-14 22:18:18 +00:00
InstructionSelect.cpp GlobalISel: Fix unconditional fallback with global isel abort is disabled 2016-11-18 14:14:35 +00:00
InstructionSelector.cpp [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00
IRTranslator.cpp [GlobalISel] Add support for address-taken basic blocks 2017-01-05 13:27:52 +00:00
Legalizer.cpp GlobalISel: rename legalizer components to match others. 2016-10-14 22:18:18 +00:00
LegalizerHelper.cpp GlobalISel: make G_CONSTANT take a ConstantInt rather than int64_t. 2016-12-05 21:47:07 +00:00
LegalizerInfo.cpp GlobalISel: fall back gracefully when we hit unhandled legalizer default. 2016-12-06 19:02:15 +00:00
LLVMBuild.txt Revert "Get GlobalISel to build on Linux after r286407" 2016-11-16 22:24:59 +00:00
MachineIRBuilder.cpp GlobalISel: simplify MachineIRBuilder interface. 2016-12-07 21:05:38 +00:00
RegBankSelect.cpp GlobalISel: handle G_SEQUENCE fallbacks gracefully. 2016-12-06 18:38:38 +00:00
RegisterBank.cpp [RegisterBank] Mark the dump method with LLVM_DUMP_METHOD. 2016-09-23 17:50:03 +00:00
RegisterBankInfo.cpp [globalisel] Stop requiring -debug/-debug-only=registerbankinfo for assertions. 2017-01-06 14:29:34 +00:00
Utils.cpp [GlobalISel] Refactor the logic to constraint registers. 2016-12-22 21:56:19 +00:00