diff options
author | Kai Nacke <kai.peter.nacke@ibm.com> | 2022-07-11 14:32:42 -0400 |
---|---|---|
committer | Kai Nacke <kai.nacke@de.ibm.com> | 2022-07-12 11:44:42 -0400 |
commit | 42f7364fcb239a4d57b54a20244a1564314455a8 (patch) | |
tree | 5e7f6b04e106a2eadb638e02b24fca35e260b634 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a280043b523182ab6bb3ce5caf75e931a26eaf3f (diff) | |
download | llvm-42f7364fcb239a4d57b54a20244a1564314455a8.zip llvm-42f7364fcb239a4d57b54a20244a1564314455a8.tar.gz llvm-42f7364fcb239a4d57b54a20244a1564314455a8.tar.bz2 |
[GISel] Check useLoadStackGuardNode() before generating LOAD_STACK_GUARD
When lowering llvm::stackprotect intrinsic, the SDAG implementation
checks useLoadStackGuardNode() to either create a LOAD_STACK_GUARD or use
the first argument of the intrinsic. This check is not present in the
IRTranslator, which results in always generating a LOAD_STACK_GUARD even
if the target does not support it.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D129505
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions