This is a patch to add constrained intrinsics for MAXNUM and MINNUM. Both operations can signal INVALID on SNaN input.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
docs/LangRef.rst | ||
---|---|---|
14419 ↗ | (On Diff #169487) | A quick note that the rounding mode doesn't apply to these intrinsics, but I suspect that this is really a larger problem. E.g. rint, nearbyint, etc also take a rounding mode argument but never use it. I suggest we handle that problem in an entirely separate patch for all constrained intrinsics at once. |
Comment Actions
LGTM
test/CodeGen/X86/vector-constrained-fp-intrinsics.ll | ||
---|---|---|
3671 ↗ | (On Diff #169487) | I'm starting to think we should split this file so we don't need both a FMA and NO-FMA for every test case. But of course that should be an separate patch |
test/CodeGen/X86/vector-constrained-fp-intrinsics.ll | ||
---|---|---|
3671 ↗ | (On Diff #169487) | Agreed. I'll do that now. |