aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/FileSystemStatCache.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2014-05-07 21:43:35 +0000
committerQuentin Colombet <qcolombet@apple.com>2014-05-07 21:43:35 +0000
commit246b6fcd28e92c481715ad581791cc821db989c3 (patch)
treeed0f67934f21bbd2eaf39dfbcb03e4c1ed1689cb /clang/lib/Basic/FileSystemStatCache.cpp
parent1fa575dcc6f47363ff7dcf78a4be359c0343c7e5 (diff)
downloadllvm-246b6fcd28e92c481715ad581791cc821db989c3.zip
llvm-246b6fcd28e92c481715ad581791cc821db989c3.tar.gz
llvm-246b6fcd28e92c481715ad581791cc821db989c3.tar.bz2
[X86] Selectively mark the FMA variants inside a family as isCommutable.
Given a FMA family (e.g., 213, 231), not all the variants (i.e., register or memory) are commutable. E.g., for the 213 family (with the syntax src1, src2, src3): fmaXXX213 A, B, reg3/mem3 == fmaXXX213 B, A, reg3/mem3 Now consider the 231 family: fmaXXX231 A, B, reg3 == fmaXXX231 A, reg3, B But fmaXXX231 A, B, mem3 != fmaXXX231 A, mem3, B Indeed, mem3 cannot be the second argument of the memory variant of fmaXXX231. Working on a reduced test case! <rdar://problem/16800495> llvm-svn: 208252
Diffstat (limited to 'clang/lib/Basic/FileSystemStatCache.cpp')
0 files changed, 0 insertions, 0 deletions