aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-04-16 13:16:47 -0700
committerCraig Topper <craig.topper@sifive.com>2021-04-16 13:22:28 -0700
commit6b446310bef95eecea7afdd989e57e64d39a3b0d (patch)
treefcec543037eab4264d880058ea51d6a6f7058273 /clang/lib/CodeGen/CodeGenFunction.cpp
parent13875aab4e7d907b1a934579be61dd936c2de17a (diff)
downloadllvm-6b446310bef95eecea7afdd989e57e64d39a3b0d.zip
llvm-6b446310bef95eecea7afdd989e57e64d39a3b0d.tar.gz
llvm-6b446310bef95eecea7afdd989e57e64d39a3b0d.tar.bz2
[TableGen] Predicate::operator== needs to compare the HwMode feature name in addition to the HwMode flag.
This was causing GenerateVariants to lose some variants since HwMode is expanded first. We were mistakenly thinking the HwMode predicate matched and finding the variant was isomorphic to a pattern in another HwMode and discarding it. Found while investigating it if would be better to generate variants before expanding HwModes to improve RISCV build time. I noticed an increase in the number of Opc_MorphNodeTo in the table which indicated that the number of patterns had changed.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions