Subtarget attributes are not guaranteed to match those of the actual hardware. This can cause the compiler to crash in some circumstances.
Modify intrinsic lowering to be conditional on ISA version numbers instead of subtarget attributes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/SIISelLowering.cpp | ||
---|---|---|
7826 | Why can't the compiler continue to use the attribute? |
Why can't the compiler continue to use the attribute?