[PATCH] D134749: [clang][Interp] Implement Div opcode

Shafik Yaghmour via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 5 10:47:51 PDT 2022


shafik added inline comments.


================
Comment at: clang/test/AST/Interp/literals.cpp:171
+
+namespace div {
+  constexpr int zero() { return 0; }
----------------
Can we add a test case for `INT_MIN / -1` same for `%`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134749



More information about the cfe-commits mailing list