There are two variables here that break. This change constrains both of them to
debug builds (via DEBUG() or #ifndef NDEBUG).
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 1097 Build 1097: arc lint + arc unit
Event Timeline
Comment Actions
The first change looks fine, but I'd like to keep the second block:
lib/CodeGen/GlobalISel/InstructionSelect.cpp | ||
---|---|---|
139 | I don't think this should be guarded. It's intentionally part of the fallback to SDAG (it often gets hit when there's no selection rule for some instruction yet). |
Comment Actions
Thanks, everything now passes ninja check under release and debug. Thanks for bearing with me.
lib/CodeGen/GlobalISel/InstructionSelect.cpp | ||
---|---|---|
139 | Yup, and there was a test for it. So this definitely shouldn't be guarded. |
Comment Actions
Ah, I forgot this was InstructionSelect and was wondering why MRI wasn't automatically available. Looks fine to me too.
I don't think this should be guarded. It's intentionally part of the fallback to SDAG (it often gets hit when there's no selection rule for some instruction yet).