This adds a simple tablegen pattern for folding predicate_cast(load) into vldr p0, providing the alignment and offset are correct.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Sorry for kind of asking the usual testing question....but was curious if there's a negative test with a pattern where its condition isn't met, so alignment < 4, if that makes sense.
llvm/lib/Target/ARM/ARMInstrMVE.td | ||
---|---|---|
4388 | It seems surprising that there isn't a ready-made family of PatFrags like this one somewhere central where all targets can use it! But I had a quick look, didn't see any, and did see that several targets define their own, so there we go. |
It seems surprising that there isn't a ready-made family of PatFrags like this one somewhere central where all targets can use it! But I had a quick look, didn't see any, and did see that several targets define their own, so there we go.