[llvm-dev] How to inhibit jump table range check

Bagel via llvm-dev llvm-dev at lists.llvm.org
Fri Jun 19 12:55:00 PDT 2020


I am working on a back end for an architecture whose jump via table instruction 
includes the range check.  Therefore I don't need the range check generated (in 
SelectionDAGBuilder ?).

There appears to be a struct JumpTableHeader which contains a field 
OmitRangeCheck which, when true, does what I want.  However, there doesn't 
appear to be a mechanism for a back end to set it.

Anyone have any ideas?

Thanks,
brian


More information about the llvm-dev mailing list