Revert "[Passes] Enable the relative lookup table converter pass on aarch64"

This reverts commit 57b259a852.

The relative lookup table converter pass seems to cause problems
for chromium on Windows/ARM64, see https://crbug.com/1204788.
This commit is contained in:
Martin Storsjö 2021-05-05 15:23:14 +03:00
parent 61a46375a2
commit 6f5670a4c3
1 changed files with 5 additions and 0 deletions

View File

@ -450,6 +450,11 @@ public:
if (!TargetTriple.isArch64Bit())
return false;
// TODO: Triggers an issue in aarch64, so temporarily disable it.
// See https://reviews.llvm.org/D99572 for more information.
if (TargetTriple.getArch() == Triple::aarch64)
return false;
return true;
}