Skip to content

Commit 4494dc3

Browse files
committed
[NVPTX]: rename Ord to O
1 parent c702fb1 commit 4494dc3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -926,9 +926,8 @@ getOperationOrderings(MemSDNode *N, const NVPTXSubtarget *Subtarget) {
926926

927927
} // namespace
928928

929-
NVPTX::Scope NVPTXDAGToDAGISel::getOperationScope(MemSDNode *N,
930-
NVPTX::Ordering Ord) const {
931-
switch (Ord) {
929+
NVPTX::Scope NVPTXDAGToDAGISel::getOperationScope(MemSDNode *N, NVPTX::Ordering O) const {
930+
switch (O) {
932931
case NVPTX::Ordering::NotAtomic:
933932
case NVPTX::Ordering::Volatile: // Non-atomic volatile operations
934933
// NVPTX uses Thread scope as the scope of non-atomic operations.

0 commit comments

Comments
 (0)