[all-commits] [llvm/llvm-project] 2cfd42: [AIX] Don't crash on unimplemented lowerRelativeRe...
jsji via All-commits
all-commits at lists.llvm.org
Tue Aug 10 10:49:33 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2cfd42762638168131dd9f2b494825e293758136
https://github.com/llvm/llvm-project/commit/2cfd42762638168131dd9f2b494825e293758136
Author: Jinsong Ji <jji at us.ibm.com>
Date: 2021-08-10 (Tue, 10 Aug 2021)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
A llvm/test/CodeGen/PowerPC/aix-relativeref.ll
Log Message:
-----------
[AIX] Don't crash on unimplemented lowerRelativeReference
We may call lowerRelativeReference in MC to determine whether target
supports this lowering. We should return nullptr instead of crashing
when we haven't implemented the real lowering.
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D107830
More information about the All-commits
mailing list