[PATCH] D144316: [SCEV] Fix FoldID::addInteger(unsigned long I)

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 10:48:56 PST 2023


MaskRay added inline comments.


================
Comment at: llvm/include/llvm/Analysis/ScalarEvolution.h:1309
+      else
+        llvm_unreachable("unexpected sizeof(long)");
+    }
----------------
This can be replaced with a `static_assert`, but the point is moot now that you are going to remove this piece of code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144316/new/

https://reviews.llvm.org/D144316



More information about the llvm-commits mailing list