diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-08-21 22:19:55 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-08-21 22:19:55 +0000 |
commit | 14a577bfd1df04c7f53bd64d143a801582efda61 (patch) | |
tree | fbe9526b8ef257ee2a71aca05df1aa27c7a495f2 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 22d1a2789a752dce0244666a248e353d797b70ee (diff) | |
download | llvm-14a577bfd1df04c7f53bd64d143a801582efda61.zip llvm-14a577bfd1df04c7f53bd64d143a801582efda61.tar.gz llvm-14a577bfd1df04c7f53bd64d143a801582efda61.tar.bz2 |
Eliminate instances of `EmitScalarExpr(E->getArg(n))` in EmitX86BuiltinExpr().
EmitX86BuiltinExpr() emits all args into Ops at the beginning, so don't do that
work again.
This changes behavior: If e.g. ++a was passed as an arg, we incremented a twice
previously. This change fixes that bug.
https://reviews.llvm.org/D50979
llvm-svn: 340348
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions