In this way, we could use llc -debug-only=aarch64-instr-info <file.ll> to see the LLVM_DEBUG logs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Do you plan to add LLVM_DEBUG statements? If so it probably makes sense to add the DEBUG_TYPE when they are added. As far as I understand, it doesn't do much on it's own :)
Comment Actions
Ah this is a good point.
I had a command like llc -O3 -march=aarch64 -debug -debug-only=isel,aarch64-isel,selectiondag,legalizedag,<aarch64-instr-info-to-be-added> to dump the logs that are related, but I didn't realize this cpp doesn't have LLVM_DEBUG at this point. Makes sense to add DEBUT_TYPE until there are LLVM_DEBUG statements needed.
Will abandon this.