[all-commits] [llvm/llvm-project] feedb7: [clang][Interp] Fix IntAP(s) to IntAP(s) casts (#6...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Mon Nov 6 06:13:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: feedb7c0db1e06b9082f9c015362cdbf334696ff
https://github.com/llvm/llvm-project/commit/feedb7c0db1e06b9082f9c015362cdbf334696ff
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2023-11-06 (Mon, 06 Nov 2023)
Changed paths:
M clang/lib/AST/Interp/ByteCodeExprGen.cpp
M clang/test/AST/Interp/intap.cpp
Log Message:
-----------
[clang][Interp] Fix IntAP(s) to IntAP(s) casts (#69915)
This was still assert(false)'ed out, it's for casts between two IntAP/IntAPS expressions.
We can't just short-circuit for FromT == ToT because we need to consider the bitwidth when doing the cast.
More information about the All-commits
mailing list