Skip to content

compiler warningstablehlo/stablehlo/transforms/StablehloBroadcastLowering.cpp line 79, 81 #2983

Description

@ai-mannamalai
torch-mlir/externals/stablehlo/stablehlo/transforms/StablehloBroadcastLowering.cpp:79:16: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits]
   79 |         (a_idx >= 0 && a_idx < a.size()) ? a[a_idx] : DimensionInfo{1};
      |          ~~~~~~^~~~
torch-mlir/externals/stablehlo/stablehlo/transforms/StablehloBroadcastLowering.cpp:81:16: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits]
   81 |         (b_idx >= 0 && b_idx < b.size()) ? b[b_idx] : DimensionInfo{1};
      |          ~~~~~~^~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions