summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCodeEmitter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-09-08 23:22:48 +0000
committerChris Lattner <sabre@nondot.org>2005-09-08 23:22:48 +0000
commitd7d31f3b06a2e5137a54ebc19223c98037967235 (patch)
tree39532453fff5f782ebeea773bcf49e7777849647 /llvm/lib/CodeGen/MachineCodeEmitter.cpp
parent4b09f3c6f50c948ea09d6c62ec351ce529ec00ac (diff)
downloadbcm5719-llvm-d7d31f3b06a2e5137a54ebc19223c98037967235.tar.gz
bcm5719-llvm-d7d31f3b06a2e5137a54ebc19223c98037967235.zip
Implement a complete type inference system for dag patterns, based on the
constraints defined in the DAG node definitions in the .td files. This allows us to infer (and check!) the types for all nodes in the current ppc .td file. For example, instead of: Inst pattern EQV: (set GPRC:i32:$rT, (xor (xor GPRC:i32:$rA, GPRC:i32:$rB), (imm)<<Predicate_immAllOnes>>)) we now fully infer: Inst pattern EQV: (set:void GPRC:i32:$rT, (xor:i32 (xor:i32 GPRC:i32:$rA, GPRC:i32:$rB), (imm:i32)<<Predicate_immAllOnes>>)) from: (set GPRC:$rT, (not (xor GPRC:$rA, GPRC:$rB))) llvm-svn: 23284
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud