Instead of failing to select during isel, drop the intrinsic in
lowering.
Fixes PR62839.
Paths
| Differential D151050
[X86] Don't crash on instruction prefetch intrinsics without PREFETCHI support. ClosedPublic Authored by craig.topper on May 21 2023, 12:48 PM.
Details Summary Instead of failing to select during isel, drop the intrinsic in Fixes PR62839.
Diff Detail
Event TimelineComment Actions We have limited it in the FE. I was considering if we should lower it to other prefetch instructions if prefetchi is not supported. Some people have concern prefetching to data cache may not help with execution. Not emitting instruction seems good, thanks! This revision is now accepted and ready to land.May 21 2023, 5:52 PM This revision was landed with ongoing or failed builds.May 21 2023, 9:31 PM Closed by commit rG022aefa59c28: [X86] Don't crash on instruction prefetch intrinsics without PREFETCHI support. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 524127 llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/prefetchi.ll
|
clang-format not found in user’s local PATH; not linting file.