projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bdded
)
Use the container form llvm::sort(C)
author
Fangrui Song
<maskray@google.com>
Wed, 31 Oct 2018 00:31:06 +0000
(
00:31
+0000)
committer
Fangrui Song
<maskray@google.com>
Wed, 31 Oct 2018 00:31:06 +0000
(
00:31
+0000)
llvm-svn: 345682
llvm/utils/TableGen/RegisterInfoEmitter.cpp
patch
|
blob
|
history
diff --git
a/llvm/utils/TableGen/RegisterInfoEmitter.cpp
b/llvm/utils/TableGen/RegisterInfoEmitter.cpp
index
7c38dc5
..
ded54c8
100644
(file)
--- a/
llvm/utils/TableGen/RegisterInfoEmitter.cpp
+++ b/
llvm/utils/TableGen/RegisterInfoEmitter.cpp
@@
-296,7
+296,7
@@
EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
PSetE = PSetIDs.end(); PSetI != PSetE; ++PSetI) {
PSets[i].push_back(RegBank.getRegPressureSet(*PSetI).Order);
}
- llvm::sort(PSets[i]
.begin(), PSets[i].end()
);
+ llvm::sort(PSets[i]);
PSetsSeqs.add(PSets[i]);
}