mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 22:36:05 +00:00
[llvm][NFC] AutoUpgrade l case
Drop unneeded 'case'. Clean up bracing & whitespace. Approved By: nikic Differential Revision: https://reviews.llvm.org/D158126
This commit is contained in:
parent
ac9a76d748
commit
e40c48dff9
@ -1012,7 +1012,6 @@ static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) {
|
||||
}
|
||||
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 @@ static bool UpgradeIntrinsicFunction1(Function *F, Function *&NewFn) {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user