[PATCH] D73201: [FPEnv][AArch64] Don't expand STRICT_FP_ROUND to an illegal truncating store
John Brawn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 22 07:52:48 PST 2020
john.brawn created this revision.
john.brawn added reviewers: pengfei, uweigand, craig.topper.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: LLVM.
Currently STRICT_FP_ROUND can be expanded to an illegal truncating store which then gets expanded to a TRUNCATE and store, but floating-point TRUNCATE is not valid and we get an assertion failure. Fix this by not doing this expansion when the truncating store is not legal.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73201
Files:
llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
llvm/test/CodeGen/AArch64/fp-intrinsics.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73201.239599.patch
Type: text/x-patch
Size: 22398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/aa993790/attachment.bin>
More information about the llvm-commits
mailing list