Skip to content

[Aarch64] llvm.aarch64.settag intrinsics cannot handle variable length #118201

@trcrsired

Description

@trcrsired

Please implement one that can handle variable lengths. Thank you

define void @stg1(ptr %p, i64 %val) {
; CHECK-LABEL: stg1:
; CHECK:       // %bb.0: // %entry
; CHECK-NEXT:    stg x0, [x0]
; CHECK-NEXT:    ret
entry:
  call void @llvm.aarch64.settag(ptr %p, i64 %val)
  ret void
}
declare void @llvm.aarch64.settag(ptr %p, i64 %a)

https://godbolt.org/z/f977nhrTW

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions