llvm / clangir

A new (MLIR based) high-level IR for clang.
https://clangir.org
Other
312 stars 86 forks source link

[CIR][CIRGen] Support for signed #cir.ptr #598

Closed Laity000 closed 1 month ago

Laity000 commented 2 months ago

The constant initialization isn't related to the pointee. We should be able to write #cir.ptr<-1 : i64> : !cir.ptr

Laity000 commented 2 months ago

Thanks! I updated this PR.

bcardosolopes commented 2 months ago

Will merge on the code formatting gets fixed.

Laity000 commented 2 months ago

Will merge on the code formatting gets fixed.

thanks! Fixed