[llvm] [IR] Remove support for lshr/ashr constant expressions (PR #71955)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 00:51:49 PST 2023


================
@@ -3948,7 +3945,6 @@ bool LLParser::parseValID(ValID &ID, PerFunctionState *PFS, Type *ExpectedTy) {
     unsigned Flags = 0;
     if (NUW)   Flags |= OverflowingBinaryOperator::NoUnsignedWrap;
     if (NSW)   Flags |= OverflowingBinaryOperator::NoSignedWrap;
-    if (Exact) Flags |= PossiblyExactOperator::IsExact;
----------------
nikic wrote:

I would lean towards a new flag. The usage will be quite different from the existing `exact` flag.

https://github.com/llvm/llvm-project/pull/71955


More information about the llvm-commits mailing list