[llvm] [llvm] using wrapper llvm::sort(nfc) (PR #151000)
Longsheng Mou via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 28 18:19:04 PDT 2025
CoTinker wrote:
Please change the sort with a comparator, such as:
https://github.com/llvm/llvm-project/blob/7162f191b8ce68dddb60e3f129f786afb08b2bbb/llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp#L239-L241
And the code below can be replaced with `llvm::sort(operands);`
https://github.com/llvm/llvm-project/blob/0d05e55f69426c38f42f911a11ac540896577e06/llvm/lib/Transforms/Scalar/GVNSink.cpp#L311
https://github.com/llvm/llvm-project/pull/151000
More information about the llvm-commits
mailing list