projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61a4637
)
Revert "[Passes] Enable the relative lookup table converter pass on aarch64"
author
Martin Storsjö
<martin@martin.st>
Wed, 5 May 2021 12:23:14 +0000
(15:23 +0300)
committer
Martin Storsjö
<martin@martin.st>
Wed, 5 May 2021 12:23:14 +0000
(15:23 +0300)
This reverts commit
57b259a852a6383880f5d0875d848420bb3c2945
.
The relative lookup table converter pass seems to cause problems
for chromium on Windows/ARM64, see https://crbug.com/1204788.
llvm/include/llvm/CodeGen/BasicTTIImpl.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/CodeGen/BasicTTIImpl.h
b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
index
dbd3d6c
..
c03d589
100644
(file)
--- a/
llvm/include/llvm/CodeGen/BasicTTIImpl.h
+++ b/
llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@
-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;
}