[PATCH] D158126: [llvm][NFC] AutoUpgrade l case

Nathan Sidwell via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 17 16:57:43 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe40c48dff971: [llvm][NFC] AutoUpgrade l case (authored by urnathan).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158126/new/

https://reviews.llvm.org/D158126

Files:
  llvm/lib/IR/AutoUpgrade.cpp


Index: llvm/lib/IR/AutoUpgrade.cpp
===================================================================
--- llvm/lib/IR/AutoUpgrade.cpp
+++ llvm/lib/IR/AutoUpgrade.cpp
@@ -1012,7 +1012,6 @@
     }
     break;
   case 'i':
-  case 'l': {
     if (Name.startswith("invariant.group.barrier")) {
       // Rename invariant.group.barrier to launder.invariant.group
       auto Args = F->getFunctionType()->params();
@@ -1021,11 +1020,8 @@
       NewFn = Intrinsic::getDeclaration(F->getParent(),
           Intrinsic::launder_invariant_group, ObjectPtr);
       return true;
-
     }
-
     break;
-  }
   case 'm': {
     // Updating the memory intrinsics (memcpy/memmove/memset) that have an
     // alignment parameter to embedding the alignment as an attribute of


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158126.551326.patch
Type: text/x-patch
Size: 762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230817/642662b1/attachment.bin>


More information about the llvm-commits mailing list