[all-commits] [llvm/llvm-project] 3efa47: [clang][Interp] Support AddOffset with 128bit offs...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Oct 13 05:48:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3efa4794ecd5ca6235f9f7e3fc83a8d9e59b66c9
      https://github.com/llvm/llvm-project/commit/3efa4794ecd5ca6235f9f7e3fc83a8d9e59b66c9
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-13 (Fri, 13 Oct 2023)

  Changed paths:
    M clang/lib/AST/Interp/Boolean.h
    M clang/lib/AST/Interp/Integral.h
    M clang/lib/AST/Interp/IntegralAP.h
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/intap.cpp

  Log Message:
  -----------
  [clang][Interp] Support AddOffset with 128bit offsets (#68679)

We do a similar thing a few lines above for `Index`:

```c++
  // Get a version of the index comparable to the type.
  T Index = T::from(Ptr.getIndex(), Offset.bitWidth());
```




More information about the All-commits mailing list