Skip to content

Commit 6f5670a

Browse files
committed
Revert "[Passes] Enable the relative lookup table converter pass on aarch64"
This reverts commit 57b259a. The relative lookup table converter pass seems to cause problems for chromium on Windows/ARM64, see https://crbug.com/1204788.
1 parent 61a4637 commit 6f5670a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

llvm/include/llvm/CodeGen/BasicTTIImpl.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,11 @@ class BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
450450
if (!TargetTriple.isArch64Bit())
451451
return false;
452452

453+
// TODO: Triggers an issue in aarch64, so temporarily disable it.
454+
// See https://reviews.llvm.org/D99572 for more information.
455+
if (TargetTriple.getArch() == Triple::aarch64)
456+
return false;
457+
453458
return true;
454459
}
455460

0 commit comments

Comments
 (0)