Skip to content

How to use licm.disable loop attr metadata in c++ #153516

@zzzhhhl

Description

@zzzhhhl

[RISCV] In this commit, we can use llvm.licm.disable to disable licm in 4f64f1b.
BUT, it seems there is no way to add metadata in cpp.

I code like #pragma clang loop vectoriaze(disable), #pragma licm(disable), it doesn't works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:RISC-Vclang:frontendLanguage frontend issues, e.g. anything involving "Sema"llvm:transformsquestionA question, not bug report. Check out https://llvm.org/docs/GettingInvolved.html instead!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions