[PATCH] D49444: [DAG] Use temporary to prevent construction-time optimziation of AND.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 18 04:55:56 PDT 2018


samparker added a comment.

This looks like an odd solution to me, I haven't seen TokenFactors used like that before. Isn't it okay for the AND to be folded? Why not just check that the AND hasn't be folded into a constant before trying to update its, now non-existent, operands?


Repository:
  rL LLVM

https://reviews.llvm.org/D49444





More information about the llvm-commits mailing list