This is a continuation of the abandoned D54121...
Here's a big patch for the constrained FCmp intrinsics. There's a lot here, so I did not include the full set of constrained FCmp intrinsics or tests yet. I intend to add those in a separate patch.
These intrinsics will require some auxiliary constructs in TableGen, which make up the bulk of this code. Those are:
- any_bool_ty
- LLVMScalarOrVectorSameWidth
I'll also point out some things that I'm unsure about inline. Hopefully others are more familiar with that code.
I'm not sure if it's safe to reorder these values. I had to cluster these entries together since there's a Duff's device in utils/TableGen/IntrinsicEmitter.cpp that depends on it.
Unfortunately, the new bAny entry could not be added to the end of the *Any defs list, since the last value is 255 and the container is an 8-bit unsigned int.