[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-07-27 Thread Petr Hosek via Phabricator via cfe-commits
phosek added a comment. In D150946#4538469 , @aaron.ballman wrote: > In D150946#4536971 , @phosek wrote: > >> This test is failing on our Windows builders with the following error: >> >> Script: >> -- >> :

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-07-27 Thread Aaron Ballman via Phabricator via cfe-commits
aaron.ballman added a comment. In D150946#4536971 , @phosek wrote: > This test is failing on our Windows builders with the following error: > > Script: > -- > : 'RUN: at line 1'; c:\b\s\w\ir\x\w\llvm_build\bin\clang.exe -cc1 > -internal-isystem

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-07-26 Thread Petr Hosek via Phabricator via cfe-commits
phosek added a comment. This test is failing on our Windows builders with the following error: Script: -- : 'RUN: at line 1'; c:\b\s\w\ir\x\w\llvm_build\bin\clang.exe -cc1 -internal-isystem c:\b\s\w\ir\x\w\llvm_build\lib\clang\18\include -nostdsysteminc

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-07-26 Thread Timm Bäder via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGae4849f96706: [clang][Interp] PointerToIntegral casts (authored by tbaeder). Changed prior to commit:

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-05-19 Thread Shafik Yaghmour via Phabricator via cfe-commits
shafik accepted this revision. shafik added a comment. This revision is now accepted and ready to land. LGTM Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150946/new/ https://reviews.llvm.org/D150946

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-05-19 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder added a comment. Hm, this works for pointers, but not for function pointers (which we map to `FunctionPointer`). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D150946/new/ https://reviews.llvm.org/D150946

[PATCH] D150946: [clang][Interp] PointerToIntegral casts

2023-05-19 Thread Timm Bäder via Phabricator via cfe-commits
tbaeder created this revision. tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik. Herald added a project: All. tbaeder requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. Add a new opcode doing the cast and emit a