Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm pretty sure we never get to trying to match the patterns when we don't have FullFP16, due to differences in fp16 type legalization, but looking at AArch64GenAsmMatcher.inc there is indeed no predicate checking so it makes sense to add predicates here.
The 16-bit patterns should probably be guarded by a Requires = [HasNEON, HasFullFP16] clause (unless TableGen has changed so Pat instantiations inherit Requires, which actually wouldn't be a bad idea).