Skip to content

Commit 5b1ce3a

Browse files
committed
fixup! [SPIR-V] Add pre-headers to loops.
fix typos
1 parent 6b069ec commit 5b1ce3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,12 +611,12 @@ static bool isImplicitFallthrough(MachineBasicBlock &MBB) {
611611
if (MBB.empty())
612612
return true;
613613

614-
// Branching spirv intrinsics are not detected by this generic method.
614+
// Branching SPIR-V intrinsics are not detected by this generic method.
615615
// Thus, we can only trust negative result.
616616
if (!MBB.canFallThrough())
617617
return false;
618618

619-
// Otherwise, we must manually check if we have a spirv intrinsic which
619+
// Otherwise, we must manually check if we have a SPIR-V intrinsic which
620620
// prevent an implicit fallthrough.
621621
for (MachineBasicBlock::reverse_iterator It = MBB.rbegin(), E = MBB.rend();
622622
It != E; ++It) {

0 commit comments

Comments
 (0)