aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorgonglingqin <gonglingqin@loongson.cn>2023-02-10 13:57:55 +0800
committergonglingqin <gonglingqin@loongson.cn>2023-02-10 14:14:47 +0800
commit9d8a7f780c5da87a0f0e41b5e8978920b1e9947d (patch)
treeb1211809fc0c59f7876a8e01ec8ec664f4863a1b /clang/lib/Frontend/CompilerInvocation.cpp
parent8e33c41e72ad42e4c27f8cbc3ad2e02b169637a1 (diff)
downloadllvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.zip
llvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.tar.gz
llvm-9d8a7f780c5da87a0f0e41b5e8978920b1e9947d.tar.bz2
[LoongArch] Implement the convertSelectOfConstantsToMath hook
Normally, the ISD::SELECT is lowered to maskeqz + masknez. This is inefficient when operands are constants that can be computed easily. To avoid that, override TargetLowering::convertSelectOfConstantsToMath. Differential Revision: https://reviews.llvm.org/D143621
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions