aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2020-08-30 15:32:45 -0400
committerSanjay Patel <spatel@rotateright.com>2020-08-30 16:49:22 -0400
commit25597f7783e7038b8a2ee88bb49ac605b211b564 (patch)
tree57211b87c8c23c87c8e3b2c074dc53f132fcb231 /llvm/utils/FileCheck/FileCheck.cpp
parent342fea366f907e09eb12b12cfdeba7e9a056c2a3 (diff)
downloadllvm-25597f7783e7038b8a2ee88bb49ac605b211b564.zip
llvm-25597f7783e7038b8a2ee88bb49ac605b211b564.tar.gz
llvm-25597f7783e7038b8a2ee88bb49ac605b211b564.tar.bz2
[IR][GVN] allow intrinsics in Instruction's isCommutative query
As discussed in D86798 / rG09652721 , we were potentially returning a different result for whether an Instruction is commutable depending on if we call the base class or derived class method. This requires relaxing an assert in GVN, but that pass seems to be working otherwise. NewGVN requires more work because it uses different code paths for numbering binops and calls.
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions