Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/IR/ConstantRange.cpp | ||
---|---|---|
792 ↗ | (On Diff #202783) | If I understand the context of the patch, xor is the only case not handled right? If so, then I'd strongly prefer to see a case handled for xor (even if that's simply return full). The contract of "supports all binops but xor" is not a great API for this function. |
llvm/lib/IR/ConstantRange.cpp | ||
---|---|---|
792 ↗ | (On Diff #202783) | Xor is the only unsupported integer binop. There are more unsupported float binops which aren't relevant to LVI though. I've restored the code to returning a conservative result now. |